Support

Home Forums Event Espresso Premium Updating the language files

Updating the language files

Posted: February 4, 2013 at 8:47 am


Patrick Haley

February 4, 2013 at 8:47 am

In the past I had made custom edits to the .po and .mo language files to have everything display as I need it to. After the recent update I cannot locate the language files in the languages folder. After reviewing the update change log there is a clause that says that language files are being uploaded from the github repositories. Is it no longer possible to edit these files?


Seth Shoultes

  • Support Staff

February 4, 2013 at 9:29 pm

Hi Patrick,

We are now side loading the language files into the wp-content/uploads/espresso/languages/ directory. So you can make your changes and they won’t get lost.


Seth Shoultes

  • Support Staff

February 4, 2013 at 9:30 pm

Also, this may be of some help. Josh found this the other day:

Changing text strings:

http://www.viper007bond.com/2011/07/13/changing-core-wordpress-strings/

You can drop that function into custom_functions.php, add your text string changes, save, and Bob’s your uncle – you’ve changed text strings without creating a new language file or modifying templates/core files.


Patrick Haley

February 5, 2013 at 8:23 am

Great thanks for the help!


Patrick Haley

February 5, 2013 at 8:26 am

I notice that in wp-content/uploads/espresso/languages there are no language files and only the index.php file exists. Do I upload my existing .mo and .po files to the languages directory? Are they automatically detected there?


Chris Reynolds

  • Support Staff

February 5, 2013 at 1:52 pm

I notice that in wp-content/uploads/espresso/languages there are no language files and only the index.php file exists. Do I upload my existing .mo and .po files to the languages directory? Are they automatically detected there?

Yes. As of 3.1.30, Event Espresso will look in the /uploads/espresso/languages directory first then check the plugin’s languages directory. So you can upload language files there if you want. Note that it’s only the .mo file that’s actually used by WordPress. The .po files are what get edited in Poedit and generate the .mo file so you don’t strictly need to upload both.


Patrick Haley

February 5, 2013 at 2:02 pm

Thank you very much.

The support post ‘Updating the 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