Allan
December 26, 2016 at 4:56 pm
Hi support,
I tryed to translate EE4 to Danish, and did 9% of the file. Howewer I just lost the few Words that there was translated before.
I uploadet the file (PO and MO) to: /wp-content/uploads/espresso/languages/
Can you help?
Tony
December 27, 2016 at 4:07 am
Add New Note to this Reply
Hi there,
Did you download the latest version of the translations from our glotpress project?
https://translate.eventespresso.com/projects/event-espresso-4/da/event-espresso-da_DK
Which strings have not translated? (if there are many you do not need to list them, if it’s a couple if may just be the strings have changed slightly)
Allan
December 27, 2016 at 4:20 am
Add New Note to this Reply
Its many. I translated from 4% to 9%
And its the latest file
Tony
December 27, 2016 at 4:31 am
Add New Note to this Reply
Can you send me a copy of the PO file so I can take a look?
You can send the file to support[at]eventespresso.com
Tony
December 29, 2016 at 4:05 am
Add New Note to this Reply
You PO file is not named correctly, so I’m assuming nether is your MO file.
The file you sent is event-espresso-da_DK.po
It needs to be event_espresso-da_DK.po
(note the underscore _ rather than -)
So then your MO file would be event_espresso-da_DK.mo
Currently EE is most likely using the basic translation file we sideload and NOT your custom file.
Allan
December 29, 2016 at 4:44 am
Add New Note to this Reply
I see.. when downloading from here: https://translate.eventespresso.com/projects/event-espresso-4/da/event-espresso-da_DK Its with – and not _
Its working great now. thanks
Tony
December 29, 2016 at 5:19 am
Add New Note to this Reply
Correct, you need to rename the file for it to work.
EE4 actually checks for multiple files, first – event_espresso-{locale}.mo
Then event-espresso-4-{locale}.mo
We have some more details on translating Event Espresso here:
https://eventespresso.com/wiki/how-to-translate-event-espresso/