Support

Home Forums Translations A classic, how to change language

A classic, how to change language

Posted: November 5, 2013 at 3:23 pm


mar garcia

November 5, 2013 at 3:23 pm

Hi,

I want to use the Spanish translation in which i’m involved. I have read some posts and tutorials but i can`t get it.

Anyone who help me please.

Thank you.


Sidney Harrell

November 5, 2013 at 3:45 pm

This is our main documentation on setting up EE in a different language:
https://eventespresso.com/wiki/translating-event-espresso/. To get EE translation working, it’s basically 3 steps. Define WPLANG in wp-config.php, download the .mo file from the github account, and place it in wp-content/uploads/espresso/languages. To work on updating the translation, download the .po file from the github account, open it in poedit, and when you are ready have poedit generate the .mo file and replace the one in your install.


mar garcia

November 5, 2013 at 11:15 pm

Hi again,

Thank you so much for your help, but i can’t get it. If i download the file .mo and .po from the github account I get the files named,

event-espresso-es.mo
event-espresso-es.po

I copy the .mo in wpcontent/uploads/espresso/languages and nothing happens.

If I try to donwload from Glotpress (We are envolving in spanish translataion) y get the files,

event_espresso-es_ES.mo
event_espresso-es_ES.mo

Note that names are different, if i put the file .mo in the folder you say when i try to access to wp-admin a blank page appears.

In wp-config.php i have wrote es_ES

What can i do to get the language working in spanish.

Thank you so much


Dean

November 6, 2013 at 12:46 am

Hi,

Can you try re-downloading the files?

Githubs downloading methods are a bit weird:

To download the PO file – left click the link on the main page and then right click the Raw button in the top right of the page that comes up and save as.

To download the MO file – left click the link on the main page, and then left click the View Raw text link in the middle of the page that comes up.

If you don’t do this you may end up with a MO and PO file that contains garbage data and the language wont work.


mar garcia

November 6, 2013 at 5:37 am

Hi Dean,

Made what you say and nothing, it doesn’t work.

The name of the files I have downloaded with your suggestion are:

event_espresso-es_ES.mo and event_espresso-es_ES.po

Well, if i don’t change the name to event-espresso-es_ES.mo and event-espresso-es_ES.po, when i access to the wp-admin appears a blank page, then i rename the files and i access access to admin of Wprdpress, but the plugin Event Espresso still in English.

Any suggestions, thank you.


Josh

  • Support Staff

November 6, 2013 at 10:43 am

Hi there,

It does take additional memory to load up and run translation files. So if you’re getting a white screen when the translation files are loading up it may require increasing the amount of memory allocated. One way to allocate more memory is by editing the wp-config.php file. Right after where you have:

define('WPLANG', 'es_ES');

you can add:

define('WP_MEMORY_LIMIT', '64M');

If the above doesn’t work, it may help to know if there’s a PHP error being thrown, so you can check the error logs and/or change the another line a few lines down where it defines WP_DEBUG to:

define('WP_DEBUG', true);

Then check the site again for any errors.


mar garcia

November 6, 2013 at 4:11 pm

Hi Josh,

It works, adding WP_MEMORY_LIMIT but not to 64M, i have to put in on 100M

Just another little issue, after disabling debug mode on the top left of the page appears the word ‘memo’. you can see at http://orycronsport.es

Any suggestion, thank you so much.


mar garcia

November 6, 2013 at 4:14 pm

Ok, i got it, all it’s fine.

Thank you to all of you for your great support.

Greetings from Spain.


Jonathan Wilson

November 6, 2013 at 4:59 pm

Great! We’re happy to help. Let us know if you have anymore questions.

The support post ‘A classic, how to change language’ 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