Posted: April 11, 2016 at 8:16 am
|
Hi! I searchd the forum, and found some code snippets to this problem, but none of them worked. I want to translate the Checkout page steps name’s. I tried with .poedit // This is an array of original strings // See if the current string is in the $strings array return $translated; add_filter( ‘gettext’, ‘mycustom_filter_gettext’, 10, 3 ); But none of them worked. Please help me. I don’t understand why we need to work with codes, and custom plugins. For that price we pay for EE, there must be an option for this in the admin menu. Translating this way is really frustrating.. |
Hello, The example that you shared does work: Was that added through a site specific plugin (https://eventespresso.com/wiki/create-site-specific-plugin-wordpress-site/)? If so, could you check to see if it was activated on your site? — |
|
|
Yes, I used a site specific plugin. I found the problem, I copied the code from the forum, and the “‘” sign was different, wich coused a problem in the plugin. |
Hi there, I’m glad you have this working, it good to monitor any double quotes (“) and apostrophes (‘) when copying code over as they can often be styled and will not work. |
|
|
OK, one more frustrating thing, please help me! An error has occurred: The interesting thing is: in the .po file I could find the first line “An error has occured:” But the frustrating thing is the rest is not in the .po file!!! Whaaat? |
|
I tried to put this in the string gettex code, but I can’t translate it. Ah and another one, I want tot translate the button “Submit Promotion Code”, how can I do this? Thank you! |
I checked into this and it turns out you currently can not translate those messages. I’ve created a ticket to get that fixed in the next version of Event Espresso.
That’s ‘Submit %s’ and will be within the PO file, however to confirm did you download the latest version from glotpress here: https://translate.eventespresso.com/projects/event-espresso-4 |
|
The support post ‘Translating Checkout steps’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.