Adding error checks at translate.wordpress.org

We have some situations where we don’t check some translations or if we check it, we return a warning, that can be dismissed by the translator, so the translators can add incorrect, and sometimes, dangerous translations. To prevent these situations, we have deployedDeploy Launching code from a local development environment to the production web server, so that it's available to visitors. two PR:

  • The first PR in GlotPressGlotPress GlotPress is the translation management software that powers Translate.WordPress.org. More information is available at glotpress.org., to check the incorrect placeholders. This is a generic check, so it will be useful in any installation.
  • The second PR at translate.wordpress.org, with 4 checks specifically designed for the WordPress coreCore Core is the set of software required to run WordPress. The Core Development Team builds WordPress.:

The first check adds an error for unexpected timezone stringsString A string is a translatable part of the software. A translation consists of a multitude of localized strings..

The second check adds an error for unexpected start of week number.

The third check adds an error for unexpected slug format.

The fourth check adds an error for unexpected timezone date format.

You have a depth explanation in both PR.

If you think it could be interesting to add more generic checks in the GlotPress core or specific checks for the WordPress core, please, add these suggestions in the comments. Thank you.

#improvements