mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-07 06:09:42 +00:00
Updated How to translate i2pd web console to your language (markdown)
@@ -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):
|
4. Add language namespace in i18n header file [`I18N_langs.h`](https://github.com/PurpleI2P/i2pd/blob/e412b17f709af249ffa20a08cb111090631e8d0e/i18n/I18N_langs.h#L61):
|
||||||
```diff
|
```diff
|
||||||
namespace english { std::shared_ptr<const i2p::i18n::Locale> GetLocale (); }
|
namespace english { std::shared_ptr<const i2p::i18n::Locale> GetLocale (); }
|
||||||
|
|||||||
Reference in New Issue
Block a user