change lang
-
Hi, avesome plugin, so i did see the last update that Danish lang was incluted, but how to chance to Danish lang?
-
Hey ufferichter,
That’s easy… Edit your wp-config.php file (in the root of your website) and add this line somewhere (or update the line if it’s already there):
$locale='da_DK';or to any other available language.
peace,
RolfHi Ralf
In my config file is says “define(‘WPLANG’, ‘da_DK’);”
Shall i chance that to “$locale='da_DK';”
And will it work with anything ells?
Regards Uffe
Hey Uffe,
The old way to do it is by using the define… statement.
New way is the $locale statement.
It will change your backend to Danish (if there are translations available, of course)Hope this helps!
peace,
RolfIn other words: replace the
define('WPLANG', 'da_DK');line with the $locale line…Sorry Ralf, but the site comes with this falie Fatal error: Can’t use function return value in write context in /home/dan30190/public_html/uffe.it/wp-config.php on line 90
i chance this line
define('WPLANG', 'da_DK');
to
define('WPLANG', 'da_DK');define('WPLANG', 'da_DK');
i cant write the last code correkt i dont know what happening in the post, i try to edit but its seems i cant copy and paste the right code for you
define('WPLANG', 'da_DK');
no i cant, but i see it correct in my mail from this post
Hey Uffe,
The define(‘WPLANG’, ‘da_DK’); still should work too, but it’s depricated.
Please reinstall my plugin, cause I made a mistake with the first release tonight: the Danish language file was empty 🙁
Maybe you installed that one and that’s the reason it’s not working…
So, uninstall, install again and just leave the line define(‘WPLANG’, ‘da_DK’); in. That should work.
I just uninstall and reinstall, but with the same result, sorry
i install insite the wp just to say
Working in a Danish Admin Panel now 😉
Okay, I see… something is wrong, it doesn’t translate…
Probably some problems with the translation files.
I’ll have a look at it and fix it a.s.a.p!
peace,
RolfOk Ralf
I wait and hear from you
Uffe
Already found it… file name for the translations was wrong…
I’ll update them now!
The topic ‘change lang’ is closed to new replies.