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!

Translating Serendipity itself

Serendipity has already been translated into many languages; a primer on how to add a whole new language can be found in our online documentation.

Not all translations are up to date. If you notice English texts in the middle of the language version you are using, you are welcome to participate in the translation to your language. In our Serendipity repository on Github you will find all language files in the lang/ directory. At the end of the file for your language you will find English texts that have not yet been translated. You can simply translate them - don't forget the second language file in the UTF-8/ subdirectory - and send us a pull request on Github or contact us in another way. Your new translations will then be included in the next release.

If you have any questions about the internationalization of Serendipity, please feel free to visit our Forums!

Thank you for supporting Serendipity!

Trackbacks

Trackback-URL für diesen Eintrag

Kommentare

Ansicht der Kommentare: (Linear | Verschachtelt)

Noch keine Kommentare

Kommentar schreiben

Die angegebene E-Mail-Adresse wird nicht dargestellt, sondern nur für eventuelle Benachrichtigungen verwendet.

Um maschinelle und automatische Übertragung von Spamkommentaren zu verhindern, bitte die Zeichenfolge im dargestellten Bild in der Eingabemaske eintragen. Nur wenn die Zeichenfolge richtig eingegeben wurde, kann der Kommentar angenommen werden. Bitte beachten Sie, dass Ihr Browser Cookies unterstützen muss, um dieses Verfahren anzuwenden.
CAPTCHA

BBCode-Formatierung erlaubt
Markdown-Formatierung erlaubt