WordPress.org

Ready to get started?Download WordPress

Forums

Path
[resolved] Localization and Path theme (5 posts)

  1. stuudio
    Member
    Posted 6 months ago #

    Localization gives the following message:

    Compatibility: Loading Issue: Author is using load_textdomain instead of load_theme_textdomain or load_child_theme_textdomain function. This may break behavior of WordPress, because some filters and actions won't be executed anymore. Please contact the Author about that.

    It is also impossible to translate the theme using Localization.
    Added a new language (set in wpconfig and works fine with other themes) scanned the code, entered translations but nothing.

  2. Sami Keijonen
    Member
    Theme Author

    Posted 6 months ago #

    If you are talking about this plugin there is a long history behind it. There is nothing wrong with the theme.

    I'd suggest you translate files using Poedit.

  3. stuudio
    Member
    Posted 6 months ago #

    'sudo apt-get install poedit' and updating the translation.

    BTW, I used the xx_XX naming for the translation files. This was probably another reason, it did not work before. Maybe.

  4. Sami Keijonen
    Member
    Theme Author

    Posted 6 months ago #

    File name should be path-xx_XX.po and path-xx_XX.mo.

  5. stuudio
    Member
    Posted 5 months ago #

    You are absolutely correct.
    Poedit translations work fine. Kiitos ;)

Reply

You must log in to post.

About this Theme

About this Topic