docs.ejabberd.im

Internationalization and Localization

The source code of ejabberd supports localization: all built-in modules support the xml:lang attribute inside IQ queries, and the Web Admin supports the Accept-Language HTTP header.

There are two ways to improve the translation of a language:

Once the translators have improved the po files, you can run make translations. With that command, the translatable strings are extracted from source code to generate the file ejabberd.pot. This file is merged with each .po file to produce updated .po files. Finally those .po files are exported to .msg files, that have a format easily readable by ejabberd.