Skip to content

Localizing Datawrapper

gka edited this page Mar 26, 2013 · 1 revision

This page documents how to translate Datawrapper to new languages, or fix existing translations.

In general, we need to differentiate between core localization and localization of visualization modules.

Core localization

The core translations are stored in /locale. We're using gettext, along with a Twig extension for translating frontend texts.

Updating the master messages file:

cd locale/
❯ ./update_messages.sh

To edit the .PO files of your locale we recommend to use an editor such as poedit.

Localization of visualization modules