Support

Home Forums Event Espresso Premium Setting up my Language Files

Setting up my Language Files

Posted: March 7, 2022 at 1:43 pm

Viewing 1 reply thread


Marco

March 7, 2022 at 1:43 pm

Hi support,

I’m configuring Event Espresso 4 (personal license). I’m following the steps as described on https://eventespresso.com/wiki/quick-start/. For setting up another language than English the quick start refers to https://eventespresso.com/wiki/how-to-translate-event-espresso/#setup-your-language-files.

That instruction tells me to download the .po and .mo file (both Dutch) from GlotPress. So I did. According to the instruction I then should upload (FTP) both files to /wp-content/uploads/espresso/. This path however doesn’t exist. The path that does already exists is wp-content/plugins/event-espresso-core-reg/languages.

The folder ‘languages’ also already contains both .po and .mo files (Dutch)! I didn’t put them there. Nor did I create that path/folder.

So I’m confused now. What is it exactly that I must do to get the CORRECT .po and .mo files in the CORRECT folder? And what is the correct folder? Is is ‘/wp-content/uploads/espresso/’ as described on your website or is it ‘wp-content/plugins/event-espresso-core-reg/languages’ as appeared after activating the plugin Event Espresso?

Kind regards,
Marco


Tony

  • Support Staff

March 8, 2022 at 3:21 am

Hi there,

What is it exactly that I must do to get the CORRECT .po and .mo files in the CORRECT folder?

Download the .PO and .MO files from the GlotPress project:

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

The correct directory is /wp-content/uploads/espresso/languages/

So you files should be:

/wp-content/uploads/espresso/languages/event-espresso-4-nl_NL.po
/wp-content/uploads/espresso/languages/event-espresso-4-nl_NL.mo

Technically the .PO file isn’t actually needed, WordPress reads the MO file, the PO file is for you to edit the translations and generate a MO file.

The fact that you do NOT have a /wp-content/uploads/espresso/ directory could be an indication of permission issues on your site, but for now manually create the directory and we’ll see how it goes from there.

or is it ‘wp-content/plugins/event-espresso-core-reg/languages’ as appeared after activating the plugin Event Espresso?

You pretty much never put any additional files within a plugins own directory, and the majority of the time if someone recommends doing so it would be considered the wrong way to do it.

When plugins update in WordPress, what actually happens is WordPress downloads the new .zip file, deletes the original plugins directory and all of its files within, then extracts the .zip file…. so an ‘update’ is more like a ‘replacement’ and it means that any files you manually add to a plugin will be lost when you update (hence the reason for the above location).

The folder ‘languages’ also already contains both .po and .mo files (Dutch)! I didn’t put them there. Nor did I create that path/folder.

Just to explain this, EE downloads the default language files into the above location when its activated/updated. It uses your sites current language setting to know what files to download and place in that location 🙂

If you want to use custom translations, use the above location in /wp-content/uploads/espresso/languages/

Viewing 1 reply thread

The support post ‘Setting up my Language Files’ 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