mirror of
https://github.com/gradio-app/gradio.git
synced 2025-03-13 11:57:29 +08:00
Merge pull request #620 from gradio-app/internationalization-readme
renamed internationalization to readme
This commit is contained in:
commit
3dee786616
@ -1,6 +0,0 @@
|
||||
# How to add new language support
|
||||
|
||||
1. Create a new json file in this directory
|
||||
2. Name the file after the language code (Here's a list: http://4umi.com/web/html/languagecodes.php)
|
||||
3. Please provide clear and complete translations. Take a look at the en.json for the corresponding English text.
|
||||
4. Lastly, the json file will need to be imported and added into `i18n.js` (https://github.com/gradio-app/gradio/blob/61fcdaf30cf47706db0b36fceab7d0cb2792b633/ui/packages/app/src/i18n.js)
|
8
ui/packages/app/public/lang/README.md
Normal file
8
ui/packages/app/public/lang/README.md
Normal file
@ -0,0 +1,8 @@
|
||||
# How to add support for more languages
|
||||
|
||||
1. Create a new json file in this directory
|
||||
2. Name the file after the language code (Here's a list: http://4umi.com/web/html/languagecodes.php)
|
||||
3. Please provide clear and complete translations. Take a look at the [`en.json`](https://github.com/gradio-app/gradio/blob/master/ui/packages/app/public/lang/en.json) file for the corresponding English text.
|
||||
4. Lastly, the json file will need to be imported and added into the [`i18n.js` file](https://github.com/gradio-app/gradio/blob/master/ui/packages/app/src/i18n.js)
|
||||
|
||||
That's it! Looking forward to your language 🌎
|
Loading…
x
Reference in New Issue
Block a user