Posted: November 25, 2015 at 6:53 am
|
Hello team, 1. I downloaded the po file here: http://translate.eventespresso.com/projects/event-espresso-4/nl/event-espresso-nl_NL 2. I made modifactions to the file, but upon saving i get an error that the .mo file can’t be created Can you do that for me? The po file is here: https://www.dropbox.com/s/4ygp55r1t8txz4h/event-espresso-4-nl.po?dl=0 3. A question. How do I translate the pop up message e.g. the Congratulations message after finishing a subscription. Looking forward to your answer! |
Hi Rob,
No, the file needs to be renamed. The format should be event-espresso-4-{locale}.po So in your case it would be event-espresso-4-nl_NL.po
There were 2 errors with the file, the first being the filename wasn’t set correctly (explained above) so POEdit didn’t know what language the file was. POEdit will show you any issues with the translations when you try to save, it highlights them in red – http://take.ms/n9aRF Clicking on that line provides details at the bottom – http://take.ms/NzbT7 So the reason the translation is breaking is due to the fact that the original string begins with \n whilst the translated string does not. Swapping the translation to use this – http://take.ms/akE66 Fixes the problem and allows for the file to save. Here is a copy of the files I used – http://take.ms/lkCZz This has actually highlighted an issue with the translation files in that those \n and \t characters should not be there. I’ve created a ticket to have them remove but for not the above files should work fine.
That section should translate with the PO/MO files. Just search the PO file for Congratulations – http://take.ms/1Kune Does that help? |
|
|
Thank you very much for your work in making the po file work again. I can indeed make changes in the translation and generate a mo file. However, after uploading to /web/wp-content/uploads/espresso/languages i don’t see any effect on the front page. https://www.dropbox.com/s/z1rpgon53jyty4s/EE4_trans.jpg?dl=0 I followed the guidelines, but I believe I’ve done everything correctly. Can I give you admin access to have a look under the hood? Rob |
Have you selected the language within your WordPress settings? Dashboards -> Settings – > General -> Site Language. What is it set to? You can find a step by step guide to translating EE here: https://eventespresso.com/wiki/how-to-translate-event-espresso/ |
|
|
Hi Tony, Can i mail you login? |
No need for admin login, the problem is the site language setting doesn’t match the the translation files your using currently. The site is set to Dutch, which in WordPres will be using the Locale de_DE. That’s how WordPress itself is setting the locale, not EE. Then EE is using that locale to load the translations files, so its looking for event-espresso-4-de_DE.mo So to load your nl_NL translation files, you need to set the language to ‘Netherlands’. |
|
However, if you do already have the language set as above I can take a look in the admin to see if I can find whats happening. You can send temporary login details using this form: |
|
|
No no, Dutch = Nederlands = the Netherlands = nl_NL https://www.dropbox.com/s/0keb4mv495cj3m6/dutch.jpg?dl=0 Deutsch = German = de_DE |
Ahh, ok. My apologies. Looking now. |
|
The support post ‘EE doesn't get my transation’ 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.