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:
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 theplugins
directory.Copy the English language file and rename it.
The English language file is always calledlang_en.inc.php
. Copy the file and change the name of the copy tolang_XX.inc.php
, whereXX
stands for the abbreviation of your language (in lower case). A complete list of the abbreviations can be found in our online documentation.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.Create a UTF-8 version.
Copy your language file into theUTF-8/
directory and convert this copy to UTF-8. If necessary, ask for advice in our Forums!Test your new translation.
You can now upload the language files - the file in the plugin directory and the second file in theUTF-8/
subdirectory - to the plugin directory on your blog and test your new language version.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!