Posted: September 11, 2016 at 7:54 am
|
I need to translate one thing, the message people are presented with when they are purchasing an event that is setup as not-approved by default. I downloaded and installed POEdit. I downloaded the translation file as instructed. I edited the file and compiled to MO. I then uploaded it to the languages directory as instructed. I’m not seeing any changes displayed on the page during checkout. I have verified that the translation exists in the MO file. What am I missing here? |
Hi there, Can you let me know what the full filenames of your PO and MO files are please. Also which language have you have selected within: Dashboard -> Settings -> General -> Site language. |
|
|
Hi Tony and thanks for your help with this. My filenames are as follows The selected language under Dashboard > Settings > General > Site Language is “English (United States)” I actually stepped through the whole process from start to finish again this morning just to be sure I wasn’t doing something stupid. I downloaded a fresh copy of the po file from translate.eventespresso.com. I opened and edited it in POedit. I saved it and then compiled to MO as instructed. I then renamed the files as instructed. Finally I uploaded them to the /wp-content/uploads/espresso/languages of my site. I then went to the site and began the checkout process for my not-approved event. Unfortunately, the translation changes I made are still not displaying. Specifically, I edited the “The following events do not require payment at this time…” message. Thanks for your help, |
|
I’m happy to give you admin access to the WP console and FTP access if you need it. Just let me know and I’ll set it up for you. Thanks, |
September 12, 2016 at 12:41 pm There’s a couple of similar strings for that: Could you let me know which one is not working for you? (top or bottom) |
|
|
The bottom one. Here’s a screenshot of how it’s translated in POEdit: And here’s a screenshot of where I’ve stored the file online: |
Hmm strange, that’s working for me – http://take.ms/mturi When testing this are you just refreshing the page to view the changes or have you restarted a registration? EE has some internal caching for the checkout page so you need to restart, visit your registration cancelled page and retest. Can you link em to the event so I can test it too? |
|
|
I’m running my registration attempts in a brand new Chrome Incognito session so cache should not be an issue. Here’s the URL of the item I can get you admin access to the WP admin console and FTP access if you need it. Thanks for your help with this! |
|
So I just tried it in Firefox which I NEVER use and I got the exact same thing…No translation ๐ I think we can rule out a cache issue. Looking forward to your reply. Thanks, |
September 13, 2016 at 10:16 am Your talking about browser caching which is different as I mean internal caching within the modals, but either way I get the same results so its not that. Hmm, strange. Can you either send me over the PO file so I can test it locally, or send FTP credentials so I can grab it directly please? You can send the file to support[at]eventespresso.com For credentials you can use this form: https://eventespresso.com/send-login-details/ You could use the function shown here: https://eventespresso.com/wiki/how-to-change-wording-with-poedit/#custom-function Which should work, however that doesn’t answer why the PO/MO files are not working on your site. |
|
The PO and MO files are working fine for me locally – http://take.ms/GKBTF It could be the Loco Translate plugin interfering although I run that on another site with any problem, could you try de-activating that plugin and see if the issue remains? |
|
|
Not only have I disabled the plugin, I’ve also deleted it. I cleared all site cache. I then excluded the event page and the checkout process from being cached and still, the message does not change. |
|
I’ve even tried placing the mo file in the global languages directory /public_html/wp-content/languages/plugins |
The other option is to use the plugin shown here: https://eventespresso.com/wiki/how-to-change-wording-with-poedit/#custom-function Like this – https://gist.github.com/Pebblo/21be3707f0b332d58e13f438df4d88dc You can add that function to your themes functions.php file or a Custom functions Plugin. So if you add the above function (changing the custom text) does it work then? |
|
|
Hey hey! Using the suggested plugin did the trick. I’ve now successfully been able to translate the message. Thank you for sticking with this and for helping finally resolve this. Greatly appreciated. Be well! |
You’re most welcome ๐ Any further problems please do lets us know. |
|
The support post ‘Event Translation Doesn't Work’ 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.