From d096fab5725506346cdfe777badb5ada6c90e612 Mon Sep 17 00:00:00 2001 From: Dawood Khan Date: Tue, 15 Feb 2022 12:26:52 -0500 Subject: [PATCH] Create Internationalization.md --- ui/packages/app/public/lang/Internationalization.md | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 ui/packages/app/public/lang/Internationalization.md diff --git a/ui/packages/app/public/lang/Internationalization.md b/ui/packages/app/public/lang/Internationalization.md new file mode 100644 index 0000000000..121089cf3d --- /dev/null +++ b/ui/packages/app/public/lang/Internationalization.md @@ -0,0 +1,6 @@ +# 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)