mirror of
https://github.com/open-webui/open-webui
synced 2024-11-25 13:29:53 +00:00
docs: Update contributing.md
This commit is contained in:
parent
f4a1885298
commit
b76eb46d86
@ -59,6 +59,7 @@ We use JSON files to store translations. You can find the existing translation f
|
||||
To add a new language:
|
||||
- Create a new directory in the `src/lib/i18n/locales` path with the appropriate language code as its name. For instance, if you're adding translations for Spanish, create a new directory named `es`.
|
||||
- Copy the English translation file(s) (from `en` directory in `src/lib/i18n/locale`) to this new directory and update the string values in JSON format according to your language. Make sure to preserve the structure of the JSON object.
|
||||
- Add the language code and its respective title to languages file at `src/lib/i18n/locales/languages.json`.
|
||||
|
||||
### 🤔 Questions & Feedback
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user