|
Localization
IntroductionThe following borrows heavily under the terms of the GPL v2 license from both the process and the text created by Scott Wallick for the Sandbox theme. This page explains both how to use, and how to create and edit translations of the theme. Check with the mailing list or the tip of the code repository before you begin, to make sure that a translation for the same language/country pair is not in progress, and to ensure you're translating the most current theme text. The preferred way to add or improve a Simplish translation is to create a new issue, then attach either your new .po and .mo files, or a patch(1) that adds or changes the appropriate files. See issue #2 for an example. It is also OK to email a patch(1) or a .po file to the list. DetailsUsing a provided translationExisting localizations are included with stable releases of the Simplish theme. To use a provided translation, follow the general Wordpress instructions for setting your language. Once set for your Wordpress installation, the corresponding language as defined by xy_ZZ code will apply to displayed strings in Simplish as well. Creating a new translation
Once you have finalized your translation, create a new issue (on the Issues tab) and attach your .po and .mo files. (NB: .mo files are easily generated & this part of the process should probably change to only request the text .po.) State the release version or hg revision of Simplish on which you based your localization. Improving an existing translationTo improve, correct, update, or create a country/region variant of an existing localization, download the nearest-match .po file from the simplish/languages/ directory, if any, and edit as described above, attaching the resulting xy_ZZ.po file to a new Issue to let the project know about it. Synchronizing a translation with the latest version of SimplishTranslations can be (mostly) mechanically updated with the latest Simplish strings template. To do so, obtain the translation you want to update, along with the simplish.pot file from the tip of the source repository.
|