WordPress.org

Ready to get started?Download WordPress

Forums

SportsPress - Manage Leagues & Sports Clubs
[resolved] Switch language (5 posts)

  1. Jens Z
    Member
    Posted 1 year ago #

    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/

  2. ThemeBoy
    Member
    Plugin Author

    Posted 1 year ago #

    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 :)

  3. Jens Z
    Member
    Posted 1 year ago #

    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?

  4. ThemeBoy
    Member
    Plugin Author

    Posted 1 year ago #

    Glad to help!

    I'd love to include your Swedish translation in the plugin :) Are you on GitHub?

  5. Jens Z
    Member
    Posted 1 year ago #

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic