Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I suggest adding a .pot file. #152

Open
stein2nd opened this issue Dec 14, 2024 · 0 comments
Open

I suggest adding a .pot file. #152

stein2nd opened this issue Dec 14, 2024 · 0 comments

Comments

@stein2nd
Copy link
Contributor

In the translation tool “Poedit”, when loading the plugin folder, the warning message appeared: “Localization is not supported."

The following is a transcription from the displayed warning, with personal information masked:

WordPress error: “Create Content Model” プラグインはローカリゼーションに対応していません。
Name: ‘Create Content Model’

Analyzing WP directory /path/to/directory/create-content-model
not theme - lacks style.css

in /path/to/directory/create-content-model/create-content-model.php: header “Plugin Name” = “Create Content Model”

/path/to/directory/create-content-model/create-content-model.php is the main plugin file

no load_plugin_textdomain call and lacking metadata

some work is probably required to make the PHP code localization-ready
see https://developer.wordpress.org/plugins/internationalization/how-to-internationalize-your-plugin/

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

No branches or pull requests

1 participant