Skip to content

["BUG"] Internationalization: Text domain does not match plugin slug. #87

@MaferMazu

Description

@MaferMazu

Describe the bug
Comes from the WordPress Plugin Directory.

In order to make a string translatable in your plugin you are using a set of special functions. These functions collectively are known as "gettext".

These functions have a parameter called "text domain", which is a unique identifier for retrieving translated strings.

This "text domain" must be the same as your plugin slug so that the plugin can be translated by the community using the tools provided by the directory. As for example, if this plugin slug is penfold-macrame the Internationalization functions should look like:
esc_html__('Hello', 'penfold-macrame');

From your plugin, you have set your text domain as follows:

This plugin is using the domain "woocommerce" for 8 element(s).

However, the current plugin slug is this:

openedx-commerce

Metadata

Metadata

Assignees

Labels

bugReport of or fix for something that isn't working as intendedhelp wantedReady to be picked up by anyone in the community

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions