Forum Replies Created
- AuthorPosts
- This reply has been marked as private.
sounds like you might be looking for this sort of thing
This reply has been marked as private.I said a couple of things in private above.
in short though, i would need to know what the original theme is your customised version is derived from to see if this issue is there too or just in the customisationThis reply has been marked as private.you already have a new formfield in localization where you can type in the stuff you only want to have displayed in the initial orderpage…(before submitting)
as of v2.11.4
do you have a link i can check ?
for starters, you haven’t sent me a link so i can have a look 🙂
>the last one i translated in the language file.
okactually changing that bit will not help you until the next update (it will still say xyz menu item until th enext update of wppizza. just be patient for a couple of hours and i’ll update it and upload it to the repo
that you could have actually translated in the po file.
doesnt matter though, as that should have been different in the code to start off with really.
so – again – for the tims being, do this (same file approx line 1904) change
'singular_name' => __( 'WPPizza Menu Item', $this->pluginLocale ),
to
'singular_name' => WPPIZZA_NAME.' '.__( 'Menu Item', $this->pluginLocale ),
PS: please don’t put your screenshots (and links to them) on a site that servers porn ads !!(hence i removed the link above)
ah, ok, we were talking about different things ( i assumed you meant the main admin sidebar on the left – or as the case may be on the right in your environment – where it says additives,settings etc)
essentially it’s an oversight on my part in the plugin which i will fix in the next version.
in the meantime, edit the following:
in classes/wppizza.actions.inc.php at approx line 1967 you find
'name' => _x( 'WPPizza Categories', 'taxonomy general name' ),
replace this with
'name' => WPPIZZA_NAME. ' ' ._x( 'Categories', 'taxonomy general name' ),
and it should work
in other words:
go here and download language pack
http://wpcentral.io/internationalization/he/unzip into wp-content/languages
assuming WP4.0+her: go to wp->settings->general ->site language: hebrew
that’s that. no str_replace or any of that required
strikes me like you did not install your wordpress language files
having had a quick think, i think it will have to be done somewhat differently
i.e it *will* append – so there should be nothing but the shortcode on that page – but having an additional way to display some sort of text/html only on the initial view of the orderpage .
i will mull this over for a bit as to how to do this the best way considering how the whole shebang is implemented as it isyou are right actually.
the confirmation at the end of it all , should (optionally i guess) replace whatever there was before, not append.
seems like – although that’s what i had in mind – i never actually implemented it that way (surprised no-one else mentioned it before )let me see what i can do (maybe an additional option somewhere to not break existing installations)
can’t give you an ETA yet though
PS: I might add that to the next version though as it’s certainly an idea and should be quite simple to do
sorry, no. (not the way it is right now anyway)
but you can of course edit what’s there (in localization)>Now I would like to know, how can I switch on these translation?
just set wordpress to be in de
WP<4.0 : in wp-config.php set define('WPLANG', ''); to define('WPLANG', 'de_DE');
WP>=4.0 : WordPress settings -> general -> site languagewppizza->layout->Format of openingtimes (if displayed):
- AuthorPosts