• Resolved Pedro Mendonça

    (@pedromendonca)


    Hi,

    The plugin localization isn’t working.
    I found what is wrong.

    The textdomain declared in load_plugin_textdomain is 'to' and the localization files are named as to-xx_XX.po/.mo

    The problem is that all the coded strings have the 'tto' textdomain.

    As 'tto' is closer to plugin name and it’s spread all over the code, I believe it’s easier to just change textdomain call to load_plugin_textdomain('tto', FALSE, dirname( plugin_basename( __FILE__ ) ) . '/lang'); in taxonomy-terms-order.php#L58 and rename all localization files to the correct tto-xx_XX.po/.mo format.

    As this is not on GitHub I cannot make a pull request, but it should be quick to correct this.

    Thanks

    https://wordpress.org/plugins/taxonomy-terms-order/

Viewing 1 replies (of 1 total)
  • Plugin Author nsp-code

    (@nsp-code)

    Hi Pedro,
    Thanks for reporting this issue, will be fixed for the very next release.

    Thank you

Viewing 1 replies (of 1 total)

The topic ‘Plugin localization error found’ is closed to new replies.