Viewing 15 replies - 1 through 15 (of 22 total)
  • Plugin Contributor cageehv

    (@cageehv)

    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,
    Rolf

    Thread Starter ufferichter

    (@ufferichter)

    Hi 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

    Plugin Contributor cageehv

    (@cageehv)

    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,
    Rolf

    Plugin Contributor cageehv

    (@cageehv)

    In other words: replace the define('WPLANG', 'da_DK'); line with the $locale line…

    Thread Starter ufferichter

    (@ufferichter)

    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');

    Thread Starter ufferichter

    (@ufferichter)

    define('WPLANG', 'da_DK');

    Thread Starter ufferichter

    (@ufferichter)

    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

    Thread Starter ufferichter

    (@ufferichter)

    define('WPLANG', 'da_DK');

    Thread Starter ufferichter

    (@ufferichter)

    no i cant, but i see it correct in my mail from this post

    Plugin Contributor cageehv

    (@cageehv)

    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.

    Thread Starter ufferichter

    (@ufferichter)

    I just uninstall and reinstall, but with the same result, sorry

    Thread Starter ufferichter

    (@ufferichter)

    i install insite the wp just to say

    Plugin Contributor cageehv

    (@cageehv)

    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,
    Rolf

    Thread Starter ufferichter

    (@ufferichter)

    Ok Ralf

    I wait and hear from you

    Uffe

    Plugin Contributor cageehv

    (@cageehv)

    Already found it… file name for the translations was wrong…
    I’ll update them now!

Viewing 15 replies - 1 through 15 (of 22 total)
  • The topic ‘change lang’ is closed to new replies.