WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Switch language

[Resolved] Switch language

  • Hi!

    First, let me express my appreciation of this plugin. It’s potentially exactly what I’ve been looking for quite some time now.

    Now, just installed and ran into my first problem. Where do i change language? I’ve translated the .po/.mo to swedish but can’t seem to locate where to switch languages. If there is no such item yet coded into the admin panel, maybe you could point me to where in the code it is? If it is, that is.

    Keep it up and looking forward to updates!

    /Jens

    https://wordpress.org/plugins/sportspress/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author ThemeBoy
    Participant

    @themeboy

    Hi Jens,

    Thanks for checking out the plugin!

    To change the language, you will need to edit wp-config.php in your blog’s root folder and locate the following line:

    define(‘WPLANG’, ”);

    Change this to:
    define(‘WPLANG’, ‘sv_SE’);

    Let me know if this solves the issue 🙂

    Problem solved. Amateur mistake. My .po was named ‘se_SE’ instead of your correct proposal ‘sv_SE’. Sorry to bother/thanks for helping out!

    Are you interested in my translation by the time it’s good enough to be published?

    Plugin Author ThemeBoy
    Participant

    @themeboy

    Glad to help!

    I’d love to include your Swedish translation in the plugin 🙂 Are you on GitHub?

    I am not yet. I’ll look into it and get back to you!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Resolved] Switch language’ is closed to new replies.