• Resolved Yordan Soares

    (@yordansoares)


    Hi @brianmcculloh,

    I want to translate this plugin to Spanish, but I noticed some issues that you should fix before:

    • Do you need to add the text domain meta-data in plugin header:
      /*
      [...]
       * Author: Well Done Marketing
       * Author URI: https://www.welldonemarketing.com
       * Text Domain: worth-the-read
       * License: GPL2
      [...]
       */
    • The text domain you’re using in translation functions is 'wtr', but your plugin slug is 'worth-the-read' (the whole sentence). You need to use 'worth-the-read' as text domain to enable the plugin translation in GlotPress. You can learn more here
    • Do you need to wrap inside internationalization functions these strings located in wtr-config.php file: :247,:248,:249,:289,:293,:297,:301,:356,:360,:364,:368,:507,:508,:541,:542,:543,:592,:593

    Hope this helps you to improve your plugin.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘About plugin internationalization’ is closed to new replies.