chore: Add documentation on translation process (#1424)
This commit is contained in:
parent
c40ba0d3dd
commit
29bd05ccfb
3 changed files with 51 additions and 15 deletions
|
@ -62,6 +62,10 @@ Other features include:
|
|||
|
||||
Detailed documentation is available at [www.chatwoot.com/help-center](https://www.chatwoot.com/help-center).
|
||||
|
||||
### Translation process
|
||||
|
||||
The translation process for Chatwoot web and mobile app is managed at [https://translate.chatwoot.com](https://translate.chatwoot.com) using Crowdin. Please read the [translation guide](https://www.chatwoot/docs/contributing/translating-chatwoot-to-your-language) for contributing to Chatwoot.
|
||||
|
||||
---
|
||||
|
||||
### Branching model
|
||||
|
|
|
@ -39,8 +39,6 @@ Thank you for taking an interest in contributing to Chatwoot. Before submitting
|
|||
- Provide a detailed description of the bug in the PR.
|
||||
- Add appropriate test coverage if applicable.
|
||||
|
||||
### Translations:
|
||||
- When you are introducing new text copies, you only need to worry about making changes to english language files.
|
||||
- We accept language translations / updates for existing translations through [crowdin](https://translate.chatwoot.com/)
|
||||
- If a language doesn't exist in our crowdin, please feel free to create an [issue](https://github.com/chatwoot/chatwoot/issues) to get it enabled.
|
||||
### Translations
|
||||
|
||||
For language translations, please read the guide [translating Chatwoot to your language](/docs/contributing/translating-chatwoot-to-your-language)
|
||||
|
|
34
docs/contributing/translating-chatwoot-to-your-language.md
Normal file
34
docs/contributing/translating-chatwoot-to-your-language.md
Normal file
|
@ -0,0 +1,34 @@
|
|||
---
|
||||
path: "/docs/contributing/translating-chatwoot-to-your-language"
|
||||
title: "Translate Chatwoot to your language"
|
||||
---
|
||||
|
||||
Chatwoot uses American English by default. Each and every string available in Chatwoot can be translated to the language of your choice. Chatwoot uses Crowdin to manage the translation process. The updates from Crowdin is also included along with every release.
|
||||
|
||||
### How do I see the strings that needs to be translated?
|
||||
|
||||
In the codebase the string are placed in the following locations.
|
||||
|
||||
- `app/javascript/dashboard/i18n` - The strings related to the agent dashboard
|
||||
- `app/javascript/widget/i18n` - The strings related to the web widget
|
||||
- `config/locales` - The strings used in backend messages or API response.
|
||||
|
||||
Alternatively, you can login to the **Crowdin** ([https://translate.chatwoot.com](https://translate.chatwoot.com)) and create an account to view the strings that needs to be translated.
|
||||
|
||||
### How to contribute?
|
||||
|
||||
If you don't find your language on Crowdin, please create an issue on [Github](https://github.com/chatwoot/chatwoot/issues) to add the language.
|
||||
|
||||
#### Translate Strings
|
||||
|
||||
The translation process for Chatwoot web and mobile app is managed at [https://translate.chatwoot.com](https://translate.chatwoot.com) using Crowdin. You will have to create an account at Crowdin before you can select a language and contribute.
|
||||
|
||||
#### Proofreading
|
||||
|
||||
Proofreading helps ensure the accuracy and consistency of translations. Right now, the translations are being accepted without a proof reading step. This would be changed in the future as an when there are more contributors on each language.
|
||||
|
||||
*Note:* If you are the only person contributing to a language, make sure that you inform any of the Chatwoot members to gain access to manage the language.
|
||||
|
||||
#### Releasing a new language
|
||||
|
||||
All the translated strings would be included in the next release. If a language has *60% or more translated strings* in Crowdin, we would enable the language in Chatwoot app during the next release.
|
Loading…
Reference in a new issue