Support

Home Forums Event Espresso Premium Translation of EE4 to Dutch not working

Translation of EE4 to Dutch not working

Posted: January 6, 2016 at 7:20 am


Paroles

January 6, 2016 at 7:20 am

I have followed the instructions to include a translation of EE4 (licensed) to Dutch, but that does not work.

Of note: I have an inclomplete .mo file that came with de Free Decaf version. This file does work with EE4 as well. The .mo file obtained by compiling the .po file from github does not result in any translation at all.

Please help


Lorenzo Orlando Caum

  • Support Staff

January 6, 2016 at 2:07 pm

Hello, was this the guide that you followed?

https://eventespresso.com/wiki/how-to-translate-event-espresso/

What is the name of the MO file in this location?

/wp-content/uploads/espresso/languages

Also, could you confirm that your site is a single site install and not a WP multisite installation (WP network)?


Lorenzo


Paroles

January 11, 2016 at 1:57 pm

Hi Lorenzo,

I indeed followed the guidelines provided by https://eventespresso.com/wiki/how-to-translate-event-espresso/

The mo file that appeared in event-espresso-core/languages has the name event_espresso-nl_NL.mo
It translates a limited number of terms.
When I replace it with the file obtained via the indicated procedure (with exactly the same name), all the translations are lost. It appears as if the new mo file is not seen.

Can I somehow send you the po and mo file that I obtained for an integrity check by you?

Regards,
Toon


Paroles

January 11, 2016 at 2:08 pm

Hi Lorenzo,

sorry for my incorrect answer just a minute ago.

Looking again more carefully, I discovered that the files obtained via the indicated procedure were not 100% identical in name: the name is event-espresso-nl_NL.mo in stead of event_espresso-nl_NL.mo. A hyphen where an underscore should be!
With that corrected, the new translation file is correctly recognized and my translations have appeared! Issue resolved!

I need an extra pair of glasses πŸ™‚

Toon


Tony

  • Support Staff

January 12, 2016 at 8:27 am

Hi,

Just to check, are you currently loading your translation file from event-espresso-core-reg/languages/ or /wp-content/uploads/espresso/languages/?


Paroles

January 13, 2016 at 5:39 am

Hi Tony,

I am currently loading from event-espresso-core-reg/languages/
but the other solution via /wp-content/uploads/espresso/languages/
also functions correctly: Issue closed!


Tony

  • Support Staff

January 13, 2016 at 7:25 am

If your loading the language file from /event-espresso-core-reg/languages/ then its not closed πŸ™‚

If you do that your custom translations will be lost with each update to Event Espresso, please use /wp-content/uploads/espresso/languages/ as that will prevent losing the translations on update.

Glad you got it working πŸ™‚


Lorenzo Orlando Caum

  • Support Staff

January 13, 2016 at 7:31 am

Hello,

I’m glad to hear that you got this working. I’d like to mention that you should not make changes to the core plugin folder as that folder is removed and replaced during a software update.

Using the information that you shared, it would be preferred to use this location for the language files:

/wp-content/uploads/espresso/languages

That is the location that we recommend in our guide on how to translate Event Espresso:

https://eventespresso.com/wiki/how-to-translate-event-espresso/


Lorenzo

The support post ‘Translation of EE4 to Dutch not working’ 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.

Event Espresso