Translate plugins into your preferred language!

We have just added new German translations to 22 plugins, and you can do the same for your preferred language!

Translating Plugins

And that's actually pretty easy:

  1. Find the code for your plugin and download it.
    Most plugins are available via Spartacus; you can find them in our corresponding Github repository. The few plugins that are provided directly with Serendipity can be found in the Serendipity repository on Github in the plugins directory.

  2. Copy the English language file and rename it.
    The English language file is always called lang_en.inc.php. Copy the file and change the name of the copy to lang_XX.inc.php, where XX stands for the abbreviation of your language (in lower case). A complete list of the abbreviations can be found in our online documentation.

  3. Translate the texts into your preferred language.
    If you find examples or HTML or the placeholder %s in the English text, you should keep them.

  4. Create a UTF-8 version.
    Copy your language file into the UTF-8/ directory and convert this copy to UTF-8. If necessary, ask for advice in our Forums!

  5. Test your new translation.
    You can now upload the language files - the file in the plugin directory and the second file in the UTF-8/ subdirectory - to the plugin directory on your blog and test your new language version.

  6. Share your work with the Serendipity community!
    Send us a pull request on Github, or contact us via our Forums to send us your new translation. If the plugin you have translated is available on Spartacus, your new translation may be available to all users the next day!

Continue reading "Translate plugins into your preferred language!"