From 190a78efa2c9ed5f14c6de980586a4e1997ab43b Mon Sep 17 00:00:00 2001 From: "kali kaneko (leap communications)" Date: Thu, 23 Dec 2021 13:50:16 +0100 Subject: [docs] lang testing until we include a language switcher, this is how we can test translations. --- docs/i18n-howto.rst | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/i18n-howto.rst b/docs/i18n-howto.rst index 3790afe..9650054 100644 --- a/docs/i18n-howto.rst +++ b/docs/i18n-howto.rst @@ -17,3 +17,10 @@ To fetch the translations from transifex (API\_TOKEN is the transifex API token) ``` If you want to add a new language create an empty file `gui/i18n/main_$lang.ts` before running `make locales`. + +Testing the translations +------------------------ + +Pass the language env vars: + +LANG=es_ES LANGUAGE=es_ES make run -- cgit v1.2.3