• Resolved MagicFab

    (@magicfab)


    I normally use the Codestyling localization plugin to easily adjust/fix trasnaltion problems.

    However, this can’t be done with this plugin. Codestyling reports:

    • Loading Issue: Author is using load_textdomain instead of load_plugin_textdomain function. This may break behavior of WordPress, because some filters and actions won’t be executed anymore. Please contact the Author about that.
    • Error: The actual loaded translation content does not match the textdomain: theme-my-login
      Expect, that any text you translate will not occure as long as the textdomain is mismatching!
      This is a coding issue at the source files you try to translate, please contact the original Author and explain this mismatch.
    • Warning: The actual loaded translation content contains mixed textdomains and is not pure translateable within one textdomain.
      It seems, that there is code contained extracted out of other plugins, themes or widgets and used by copy & paste inside some source files.

    https://wordpress.org/plugins/theme-my-login/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Jeff Farthing

    (@jfarthing84)

    See this.

    Thread Starter MagicFab

    (@magicfab)

    Thank you for the clarification! Perhaps that should be in the FAQ. I happen to have requirements that include other languages, but I love the plugin functionality!

    If proper localization support can be evaluated in man-hours, perhaps people interested in that could pay for it. I know I would contribute!

    In any case, I believe it’s important this is clear so people trying it aren’t frustrated when they find out.

    Plugin Author Jeff Farthing

    (@jfarthing84)

    I just commited a fix that added the text domain to all translations. This issue should be fixed in 6.3.11.

    Unfortunately 6.3.11 does not fix this. CodeStyling still reports “Author is using load_textdomain instead of load_plugin_textdomain function. This may break behavior of WordPress, because some filters and actions won’t be executed anymore.”

    Plugin Author Jeff Farthing

    (@jfarthing84)

    That warning is irrelevant. TML manually applies the plugin_locale filter, as applied by load_plugin_textdomain().

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Translation problems can't be fixed easily with Codestyling localization plugin’ is closed to new replies.