Support

Home Forums Translations Update language file after completed translation

Update language file after completed translation

Posted: December 17, 2012 at 1:57 pm

Viewing 8 reply threads


Marius Johansen

December 17, 2012 at 1:57 pm

Hi.
After the Norwegian language file got completed, I exported it to .po and .mo, gave it the exact same names as the previous files, deleted the old files and uploaded the new files to the server.
My problem now is that Event Espresso don’t seem to pick up the file. Everything just went back to English.
What could be wrong, and how do I fix it?


Dean

December 18, 2012 at 3:07 am

Hi Marius,

Have you checked the header information in the PO file is correct?

# Translation of Event Espresso in Norwegian (Bokmål)
# This file is distributed under the same license as the Event Espresso package.
msgid ""
msgstr ""
"PO-Revision-Date: 2012-12-03 15:35-0700\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Poedit 1.5.4\n"
"Project-Id-Version: Event Espresso\n"
"POT-Creation-Date: \n"
"Last-Translator: Chris Reynolds <chris@jazzsequence.com>\n"
"Language-Team: Pål Sølvberg, Jan Tore, Thor Arne Hvidsten, Christian "
"Sønsteby, Marius Johansen <support@eventespresso.com>\n"
"Language: nb_NO\n"
"X-Poedit-SourceCharset: UTF-8\n"
"X-Poedit-Basepath: .\n"
"X-Poedit-SearchPath-0: .\n"
"X-Poedit-SearchPath-1: ..\n"


Marius Johansen

December 18, 2012 at 3:20 am

I changed it now, and it still don’t work.


Dean

December 18, 2012 at 3:24 am

OK,

I will pass this one on to Chris for when he comes online, as he knows the ins and outs of the language files.


Marius Johansen

December 18, 2012 at 3:26 am

Thank you, Dean 🙂


Chris Reynolds

  • Support Staff

December 18, 2012 at 11:00 am

Marius —

Are you saying you exported it from GlotPress? There are several things that need to be set (that GlotPress doesn’t do automatically) before it will work in the plugin. The updated language file has been added to Event Espresso in 3.1.29, so updating to the latest version should fix the issue. If you’ve already upgraded and overwrote the language file with the export from GlotPress, I’d recommend downloading the zip file on your profile page and then uploading the mo and po from there.


Marius Johansen

December 18, 2012 at 2:15 pm

Thank you, it’s working just fine now, but if i find some words or sentences that I should have transelated different due, to the placement and context of the word/sentence. How would I do this?
For my own sake, and other users.


Marius Johansen

December 22, 2012 at 4:55 am

Any replies?


Josh

  • Support Staff

December 24, 2012 at 10:16 am

Hi Marius,

You can customize your translation. Here’s a brief outline on how to do this:

1) We recommend poedit for working on translation files: http://www.poedit.net/

2) After you install poedit, you can download a copy of event-espresso and open the /languages/event_espresso-your-language.po file in poedit.

3) Use the Find tool to pull up the text string you need to modify.

4) Enter your text string modification in the lower text area.

5) Save, then upload the .po and newly generated .mo files to the wp-content/plugins/event-espresso/languages/ directory on your server.

Viewing 8 reply threads

The support post ‘Update language file after completed translation’ 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