*********** Translation *********** DAViCAL uses the standard translation infrastructure of many projects. It is based on ``gettext`` (https://www.gnu.org/software/gettext/). Translators =========== Translating DAViCal ------------------- All translation of DAViCal is done by the Transifex tool and service (https://www.transifex.com). Transifex tools was released with open source licence, and then switch to commercial (mid 2012). Transifex service still free of charge for opensource projects (https://www.transifex.com/customers/open-source). We are using the Transifex service to translate the software. To translate DAViCal go to https://www.transifex.com/lkraav/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 nl: translations/davical.messagespot/nl.po -> et: translations/davical.messagespot/et.po -> fr: translations/davical.messagespot/fr.po -> de: translations/davical.messagespot/de.po -> hu: translations/davical.messagespot/hu.po -> it: translations/davical.messagespot/it.po -> ja: translations/davical.messagespot/ja.po -> nb_NO: translations/davical.messagespot/nb_NO.po -> pl: translations/davical.messagespot/pl.po -> ru: translations/davical.messagespot/ru.po -> es_AR: translations/davical.messagespot/es_AR.po -> sv: translations/davical.messagespot/sv.po Done. Comparing po files ================== Suggested command line tool: ``podiff`` (https://puszcza.gnu.org.ua/projects/podiff). $ podiff -d kdiff3 es_AR.po~ es_AR.po