Skip to content

Conversation

@alexclassroom
Copy link

I fully localized this plugin to zh_TW and found several I18N issues.

  1. This plugin’s Requires at least (3.8) is below 4.6, so a load_plugin_textdomain is needed. Please make sure you load it at a certain point in your plugin. Please refer to this official article.
  2. This plugin’s Requires at least is below 4.6, so you need to set a Text Domain in options-importer.php, and it needs to be options-importer to internationalize your plugin correctly! Please refer to this official article.
  3. Please correct the text domain from wp-options-importer to options-importer.
  4. Please add the correct text domain options-importer for some UI strings without the text domain.
  5. Please look at this PR and see what I changed. So that you know, I did NOT add the load_plugin_textdomain function; you must add it yourself.
  6. This plugin’s GlotPress project should be completed after fixing the above.

I fully localized this plugin to zh_TW and found several I18N issues.
1. This plugin’s `Requires at least (3.8)` is below 4.6, so a `load_plugin_textdomain` is needed. Please make sure you load it at a certain point in your plugin. Please refer to [this official article](https://developer.wordpress.org/plugins/internationalization/how-to-internationalize-your-plugin/#loading-text-domain).
2. This plugin’s `Requires at least` is below 4.6, so you need to set a Text Domain in `options-importer.php`, and it needs to be `options-importer` to internationalize your plugin correctly! Please refer to [this official article](https://developer.wordpress.org/plugins/internationalization/how-to-internationalize-your-plugin/#text-domains).
3. Please correct the text domain from `wp-options-importer` to `options-importer`.
4. Please add the correct text domain `options-importer` for some UI strings without the text domain.
5. Please look at this PR and see what I changed. So that you know, I did NOT add the load_plugin_textdomain function; you must add it yourself.
6. This plugin’s [GlotPress project](https://translate.wordpress.org/projects/wp-plugins/options-importer/) should be completed after fixing the above.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant