Support » Developing with WordPress » Adding internationalization to a plugin

Viewing 2 replies - 1 through 2 (of 2 total)
  • I think this gets taken care of automatically too.

    Wrap your strings in i18n functions, add Text Domain: plugin header, upload to SVN and you should be good to go.

    Moderator bcworkz

    (@bcworkz)

    Gary is correct, it’s essentially automatic, but there are a few caveats. Your text domain must be the same as your plugin. You must not include any language files with your upload or nothing will happen automatically. The one exception is existing .mo files can be included in the initial upload. More details at: https://make.wordpress.org/meta/handbook/documentation/translations/

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