We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Error
From what I can see, there are actually 5 distinct i18n related rules which may need sniffs - this issue covers the fifth item on the list.
Refs: https://make.wordpress.org/themes/handbook/review/required/#language https://make.wordpress.org/themes/handbook/review/required/theme-check-plugin/#additional-checks
There is an existing sniff within WPCS which has extensive coverage in checking whether the i18n functions are used correctly.
https://github.com/Otto42/theme-check/blob/master/checks/i18n.php https://github.com/Otto42/theme-check/blob/master/checks/textdomain.php
WordPress.WP.I18n
The text was updated successfully, but these errors were encountered:
Check that the I18N functions are used correctly.
11732e1
This related to issue #31.
The theme review handbook should only contain the requirements. The documentation for i18n for themes can be found in the theme development handbook https://developer.wordpress.org/themes/functionality/internationalization/
Sorry, something went wrong.
6ac955f
37e191a
Closing as the PR is merged
No branches or pull requests
Rule type:
Error
Rule:
From what I can see, there are actually 5 distinct i18n related rules which may need sniffs - this issue covers the fifth item on the list.
Refs:
https://make.wordpress.org/themes/handbook/review/required/#language
https://make.wordpress.org/themes/handbook/review/required/theme-check-plugin/#additional-checks
There is an existing sniff within WPCS which has extensive coverage in checking whether the i18n functions are used correctly.
Theme check file covering this rule:
https://github.com/Otto42/theme-check/blob/master/checks/i18n.php
https://github.com/Otto42/theme-check/blob/master/checks/textdomain.php
To do:
WordPress.WP.I18n
sniff to the ruleset.The text was updated successfully, but these errors were encountered: