Thanks to Nikolay’s commit last night, …

Thanks to Nikolay’s commit last night, we are now able to more easily see what stringsString A string is a translatable part of the software. A translation consists of a multitude of localized strings. have context or comment for translators.

To use this, go to GlotPress installation at https://translate.wordpress.org/, press “Filter” and then check “With comment”, “With context”, or both.

How is this useful? Translators who use Poedit can’t see contexts of strings. Contexts are used to distinguish two or more strings that are same but have different meaning, for example “spam” (comment, user, or site), “add new” (post, user, pluginPlugin A plugin is a piece of software containing a group of functions that can be added to a WordPress website. They can extend functionality or add new features to your WordPress websites. WordPress plugins are written in the PHP programming language and integrate seamlessly with WordPress. These can be free in the WordPress.org Plugin Directory https://wordpress.org/plugins/ or can be cost-based plugin from a third-party,…), or “post” (verb or noun).

By filtering strings with this, you can see if you use proper grammar case or grammar gender for that strings, or other rule that should be applied.

Note that context are shown inline with strings, while comments are shown in “MetaMeta Meta is a term that refers to the inside workings of a group. For us, this is the team that works on internal WordPress sites like WordCamp Central and Make WordPress.” box when you expand stringString A string is a translatable part of the software. A translation consists of a multitude of localized strings. by pressing “Details”.

#glotpress