Support

Home Forums Event Espresso Premium Translating Espresso 4 not working

Translating Espresso 4 not working

Posted: August 28, 2014 at 5:26 am

Viewing 5 reply threads


NLLP Huset Ove Schroll

August 28, 2014 at 5:26 am

Hello! I downloaded the event-espresso-4-da.mo and the event-espresso-4-da.po from GlotPress and placed them in [subfolder]/wp-content/uploads/espresso/languages.

I have define (‘WPLANG’, ‘da_DK’); in my wp-config.php

But I see no danish in event espresso?

I edited the file .po file to make sure, that strings visible on screen were translate.(only 8% is translated)

Where to look for errors?

Best T


Dean

August 28, 2014 at 6:05 am

Hi,

The file names in GlotPress exports are incorrect. Rename both MO and PO to:

event_espresso-da_DK.po
event_espresso-da_DK.mo

and it should kick in.


NLLP Huset Ove Schroll

August 28, 2014 at 2:21 pm

Thank you Dean. That worked for some of it.
But I´m realy having a hard time to understand the concept. Compared to other translations I have made.
Are both the .po and .mo files in the [subfolder]/wp-content/uploads/espresso/languages? Because I can rename the .po file there and still have some of the strings showing up translated.

I have now made som translations in GlotPress and placed the .po file but the strings are not changed.

And I can rename the event_espresso-da_DK.po and still have some of the text is translated.

But the changes that are in the new .po file is not there. What to do?
I have cleared my browser cache and refreshed the window.

Best Thomas


NLLP Huset Ove Schroll

August 28, 2014 at 2:24 pm

I would like to add an image img but are not allowed.

http://test.kamina.dk/img.png


Dean

August 29, 2014 at 3:04 am

Hi Thomas,

I’m not sure why they aren’t working from GlotPress but you can use Poedit on the PO file and it will update the Mo file (PO is like human readable, MO is designed for machines).

In fact it may just be that you need to open the PO from GlotPress in Poedit and save it. Some times that will be enough to update the MO file.

poedit.net


NLLP Huset Ove Schroll

August 29, 2014 at 7:57 am

Now I got It and it works. Thought I could just edit the .po file on the server without changing the .mo file.

Poedit asked for the translationlanguage, the file from GlotPress are missing “Language: da_DK\n” Don´t know if that is of any importance.

Best Thomas

Viewing 5 reply threads

The support post ‘Translating Espresso 4 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