Merged documentation for localization
This commit is contained in:
parent
5e0ed08717
commit
7312edc0d6
@ -116,12 +116,18 @@ The source code is licensed under GPL v3. License is available [here](/LICENSE).
|
|||||||
|
|
||||||
## Contribute
|
## Contribute
|
||||||
|
|
||||||
You can help this project by reporting problems, suggestions, or contributing to the code.
|
You can help this project by reporting problems, suggestions, localizing it or contributing to the code.
|
||||||
|
|
||||||
### Report a problem or suggestion
|
### Report a problem or suggestion
|
||||||
|
|
||||||
Go to our [issue tracker](https://github.com/zhukov/webogram/issues) and check if your problem/suggestion is already reported. If not, create a new issue with a descriptive title and detail your suggestion or steps to reproduce the problem.
|
Go to our [issue tracker](https://github.com/zhukov/webogram/issues) and check if your problem/suggestion is already reported. If not, create a new issue with a descriptive title and detail your suggestion or steps to reproduce the problem.
|
||||||
|
|
||||||
|
### Localization
|
||||||
|
|
||||||
|
If you don't see your native language available for Webogram and you can help with translation, please join [Telegram Web project on Transifex](https://www.transifex.com/organization/telegram/dashboard).
|
||||||
|
|
||||||
|
To test your translation live, use [Localization guide](/app/js/locales/README.md).
|
||||||
|
|
||||||
### Contribute to the code
|
### Contribute to the code
|
||||||
|
|
||||||
If you know how to code, we welcome you to send fixes and new features, but in order to be efficient we ask you to follow the following procedure:
|
If you know how to code, we welcome you to send fixes and new features, but in order to be efficient we ask you to follow the following procedure:
|
||||||
|
@ -8,7 +8,7 @@ Adding a new locale is pretty easy, all you got to do is:
|
|||||||
2. copy `js/locales/en-us.json` to `js/locales/<locale>.json`
|
2. copy `js/locales/en-us.json` to `js/locales/<locale>.json`
|
||||||
3. without changing the key strings translate and change the value strings into your target locale
|
3. without changing the key strings translate and change the value strings into your target locale
|
||||||
4. add your locale in js/i18n.js to the object of supported languages with locale and its native name so it will be listed in the settings
|
4. add your locale in js/i18n.js to the object of supported languages with locale and its native name so it will be listed in the settings
|
||||||
5. enjoy your awesome new webogram in your own language!
|
5. enjoy your awesome new Webogram in your own language!
|
||||||
|
|
||||||
You may also want to join the project on [transifex](https://www.transifex.com/projects/p/telegram-web/).
|
You may also want to join the project on [transifex](https://www.transifex.com/projects/p/telegram-web/).
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user