Support

Home Forums Event Espresso Premium How to install the Swedish language pack

How to install the Swedish language pack

Posted: April 21, 2015 at 1:31 pm


Andreas

April 21, 2015 at 1:31 pm

Hi,

I just bought EE3 and now I want to install the Swedish language pack.
I found where to download the PO and MO files, but I have not found where to put these files. In the Support forum, it just tells how to translate, not how to actually install. Or maybe I am looking at the wrong place or misunderstand something. ๐Ÿ™‚

Thankful for quick response!

Regards,
Andreas


Lorenzo Orlando Caum

  • Support Staff

April 21, 2015 at 1:35 pm

Hi Andreas, you can add the language files here:

/wp-content/uploads/espresso/languages


Lorenzo


Andreas

April 21, 2015 at 1:51 pm

Hi Lorenzo!

Thank you for a very quick reply.
I’ve uploaded the .mo and .po files to the suggested directory.
Do I need to do something else?
The EE3 is still not showing in Swedish.

Regards,
Andreas


Lorenzo Orlando Caum

  • Support Staff

April 21, 2015 at 6:57 pm

Hi Andreas, this version should be used:

http://translate.eventespresso.com/projects/event-espresso/sv/event-espresso-sv_SE

Then the site should be set to Swedish via the wp-config.php file or through the General Settings page. If WordPress is already in Swedish, then it should begin to show Swedish, once those language files are in place.


Lorenzo


Andreas

April 21, 2015 at 9:36 pm

Hi again Lorenzo,

I checked out the URL you provided, but it seem not to contain the link to download the correct Swedish files.

I have downloaded the .po and .mo files and uploaded them according to the instructions as well as I have made sure to change WordPress (v4.1.2) to Swedish, which are done through General Settings.

Unfortunately still nothing happens.

What could be wrong?

Thank you in advance for support!

~Andreas


Dean

April 22, 2015 at 1:48 am

Hi Andreas,

The files you should have should be named

event_espresso-sv_SE.po
event_espresso-sv_SE.mo

They do indeed go in /wp-content/uploads/espresso/languages

You can change the language in WP settings, but you will still need to update your wp-content.php file so that the define('WPLANG', ''); is changed to define('WPLANG', 'sv_SE');

This link http://translate.eventespresso.com/projects/event-espresso/sv/event-espresso-sv_SE will allow you to download the most up to date versions (Bottom right Export link but make sure you have selected PO or MO) but you will need to rename the files as they are not correctly named.


Andreas

April 22, 2015 at 11:04 am

Hi Dean!

Thank you for your response!
The files have been uploaded.

I can however not find any file called wp-content.php.
If I look in the file wp-config.php I do not find the define('WPLANG', '');

I am running WordPress version 4.1.2, could it have changed?

Thank you for quick response!

~Andreas


Lorenzo Orlando Caum

  • Support Staff

April 22, 2015 at 3:23 pm

Hi Andreas, that was a typo. It would be the wp-config.php file and you may need to add that macro if it doesn’t appear in the file. The middle of the file is a safe location to add it:

define(‘WPLANG’, ‘sv_SE’);


Lorenzo


Andreas

April 22, 2015 at 3:46 pm

Hi Lorenzo,

unfortunately that did not help.
What more can I do?

Regards,
Andreas


Tony

  • Support Staff

April 23, 2015 at 4:42 am

Hi Andreas,

Can you send a copy of the .po file you are using to support[at]eventespresso.com please? I’d like to take a closer look.

Please include a link within the email to this thread so that we know what the email is referencing.


Tony

  • Support Staff

April 24, 2015 at 10:53 am

Hi Andreas,

The file you sent is not actually a PO file, which is why this isn’t working.

If you go to this page – http://translate.eventespresso.com/projects/event-espresso/sv/event-espresso-sv_SE

Then at the bottom right click ‘Export’ – http://take.ms/pBzG6

That will download the .PO file.

Rename that file to event_espresso-se_SE.po

You’ll need to install POEdit to edit PO files.

That will allow you to edit your translations.

When you open the file in POEdit it will look like this – http://take.ms/yLdz9z

If you then do File -> Save, a .MO file will be created in the same directory as the PO File – http://take.ms/WIfB1

You can then use the .MO file within wp-content/uploads/espresso/languages/

.PO files are for you to make the translations.

.MO files are for WordPress to use your translations.

Here are the files I used to make the above – http://take.ms/5TYux


Andreas

April 24, 2015 at 1:45 pm

This solved it perfectly!

Thanks a lot Tony!


Tony

  • Support Staff

April 24, 2015 at 1:56 pm

Great, I’m glad it worked for you ๐Ÿ™‚

The support post ‘How to install the Swedish language pack’ 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