diff --git a/docs/translation.rst b/docs/translation.rst new file mode 100644 index 00000000..6057a9ed --- /dev/null +++ b/docs/translation.rst @@ -0,0 +1,77 @@ +*********** +Translation +*********** + +DAViCAL uses the standard translation infrastructure of many projects. +It is based on ``gettext`` (http://www.gnu.org/software/gettext/). + +Translators +=========== + +Translating DAViCal +------------------- + +All translation of DAViCal is done by the Transifex tool (http://transifex.org/). +We are using the Transifex service (http://www.transifex.net/) to translate the software. + +To translate DAViCal go to http://www.transifex.net/projects/p/davical. +You can register an account there and then translate DAViCal in the webbrowser to your language. +Furthermore you can improve existing translations and join the team of your language. + +Developers +========== + +Adding translatable string to the PHP-Source +-------------------------------------------- + +DAViCal currently does not use ``_()`` but has two functions to do the translation. +These functions are named ``i18n()`` and ``translate()``. + +With ``translate()`` a message can be directly translated. + +.. code-block:: php + +