Merge pull request #620 from gradio-app/internationalization-readme

renamed internationalization to readme
This commit is contained in:
Abubakar Abid 2022-02-15 13:33:13 -05:00 committed by GitHub
commit 3dee786616
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 6 deletions

View File

@ -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)

View 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 🌎