From 51c1cd49bfc2e4620a586b755a67e295f50bed38 Mon Sep 17 00:00:00 2001 From: R4SAS Date: Mon, 14 Jun 2021 11:41:56 +0300 Subject: [PATCH] Updated How to translate i2pd web console to your language (markdown) --- How-to-translate-i2pd-web-console-to-your-language.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/How-to-translate-i2pd-web-console-to-your-language.md b/How-to-translate-i2pd-web-console-to-your-language.md index ac9ca38..2664efd 100644 --- a/How-to-translate-i2pd-web-console-to-your-language.md +++ b/How-to-translate-i2pd-web-console-to-your-language.md @@ -47,6 +47,8 @@ In that example will be used Turkmen as target language ... ``` +Note: you can left strings without translation, so use line commenting with `//` at line start to skip them. + 4. Add language namespace in i18n header file [`I18N_langs.h`](https://github.com/PurpleI2P/i2pd/blob/e412b17f709af249ffa20a08cb111090631e8d0e/i18n/I18N_langs.h#L61): ```diff namespace english { std::shared_ptr GetLocale (); }