The finnish language-file (fi_FI.po/fi_FI.mo) seems to have the wrong name


3 posts in this topic

Posted · Report post

After several tests the translations only start working if the file has a name fi.mo, and won't work if the filename is fi_FI.mo

It's also possible that I'm missing something here. But indeed in the wp-config.php the line to set the language to Finnish is just

define ('WPLANG', 'fi');

Share this post


Link to post
Share on other sites

Posted · Report post

The filename must match whatever WPLANG is set to.

Share this post


Link to post
Share on other sites

Posted · Report post

The filename must match whatever WPLANG is set to.

I see. And both 

define ('WPLANG', 'fi'); and define ('WPLANG', 'fi_FI'); are probably correct?

I think it could be a good idea to change what's there by default, as the official Finnish WordPress -version has 
define ('WPLANG', 'fi'); in the wp-config.php and the information requred to get this work was really hard to come by (trial and error for hours) :) 

Thank you for your reply.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now