Support

Home Forums Event Espresso Premium Language trouble

Language trouble

Posted: June 16, 2015 at 6:57 am

Viewing 10 reply threads


knut pedersen

June 16, 2015 at 6:57 am

Im struggelig with translation..

I have:

Change wordpress wp-config.php to correct language nb_NO
Downloaded espresso nb_NO from github
Edited in poedit
compilated .mo
Uploaded both files to event-espresso-core-reg/languages

is it something im doing wrong, i get no changes?


Tony

  • Support Staff

June 16, 2015 at 7:11 am

Uploaded both files to event-espresso-core-reg/languages

If you upload the language files to within the plugins own directory each time the plugin updates they will be deleted. So you’ll want to upload the language files to:

/wp-content/uploads/espresso/languages/

Also check your filename is either:

event_espresso-nb_NO.mo or event-espresso-4-nb_NO.mo

(If you rename the PO file to match this then when you generate the MO file it will be the correct filename)


knut pedersen

June 16, 2015 at 7:15 am

Thanks, i have created the folder and added them there.

they are called event_espresso-nb_NO.mo and event_espresso-nb_NO.po

is that correct? i still does not see the changes i made.


Tony

  • Support Staff

June 16, 2015 at 7:38 am

Have you set the language within Dashboard -> Settings -> General -> Site Language?


knut pedersen

June 16, 2015 at 7:43 am

yes, its set to “norsk bokmål” (norwegian – NB_NO)


knut pedersen

June 16, 2015 at 7:46 am

Some of the language are changed.. but not what i have changed 🙂


Tony

  • Support Staff

June 16, 2015 at 8:24 am

Can you tell me where you downloaded the PO file from?

Also what did you change within the PO file?


knut pedersen

June 16, 2015 at 8:33 am

i DL this file https://github.com/eventespresso/languages/blob/master/event_espresso-nb_NO.po

i translated “Registration Checkout” to “Påmelding”
and some other changes just to try..

Register -> Meld deg på (that worked)
Attendee Information – Informasjon om hund og eier (did not work)
++


Tony

  • Support Staff

June 16, 2015 at 8:39 am

That translation file is for EE3 and will not contain all of the correct strings for EE4.

Here is the our Glotpress project for EE4:

http://translate.eventespresso.com/projects/event-espresso-4

You’ll need the translations from that project:

http://translate.eventespresso.com/projects/event-espresso-4/no/event-espresso-nb_NO

Click the ‘Export’ button at the bottom of the page – http://take.ms/EgRiM

Then rename the PO file to the correct filename and edit the strings there.

Generate the MO file and upload it to the same location mentioned above.

Do the translations then work as expected?


knut pedersen

June 17, 2015 at 1:01 pm

Thanks a lot! Now it works great! It really worked better with the correct files!

Thanks for good support!


Lorenzo Orlando Caum

  • Support Staff

September 12, 2015 at 2:52 pm

Hello there Knut,

We have a new resource that explains how to translate Event Espresso. You can view it here:

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

Also, GlotPress now has translation strings that are up to date for the current Event Espresso 4.8.x platform.


Lorenzo

Viewing 10 reply threads

The support post ‘Language trouble’ 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