Virtual projects for the patterns project

We have just deployedDeploy Launching code from a local development environment to the production web server, so that it's available to visitors. an update to create one project for each pattern.

Previously, when a translator translated the patterns, all the stringsString A string is a translatable part of the software. A translation consists of a multitude of localized strings. were under the same project, so she couldn’t focus in translating one pattern easily.

Today we updated this functionality, creating “virtual projects” for the patterns, so each pattern has its own project. This approach try to improve the individual translation for patterns.

Limitations

This approach has some limitations:

  • The virtual projects are alphabetically ordered.
  • The search and the filterFilter Filters are one of the two types of Hooks https://codex.wordpress.org/Plugin_API/Hooks. They provide a way for functions to modify data of other functions. They are the counterpart to Actions. Unlike Actions, filters are meant to work in an isolated manner, and should never have side effects such as affecting global variables and output. are not working.

If this approach improves the work of the translators, in the future we will consider to really split the patterns in subproject, so each pattern will be one subproject, and they will be able to use whole GlotPressGlotPress GlotPress is the translation management software that powers Translate.WordPress.org. More information is available at glotpress.org. functionality.

#improvements, #patterns