Update README.md

This commit is contained in:
Piero Toffanin 2024-04-21 12:20:01 -04:00 committed by GitHub
parent fd0739b85e
commit df78c333c9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -38,56 +38,8 @@ Response:
} }
``` ```
codeNameList: List of language codes: https://libretranslate.com/languages
```javascript
codeNameList = {
'ar': 'Arabic',
'az': 'Azerbaijani',
'bg': 'Bulgarian',
'bn': 'Bengali',
'ca': 'Catalan',
'cs': 'Czech',
'da': 'Danish',
'de': 'German',
'el': 'Greek',
'en': 'English',
'eo': 'Esperanto',
'es': 'Spanish',
'et': 'Estonian',
'fa': 'Persian',
'fi': 'Finnish',
'fr': 'French',
'ga': 'Irish',
'he': 'Hebrew',
'hi': 'Hindi',
'hu': 'Hungarian',
'id': 'Indonesian',
'it': 'Italian',
'ja': 'Japanese',
'ko': 'Korean',
'lt': 'Lithuanian',
'lv': 'Latvian',
'ms': 'Malay',
'nb': 'Norwegian',
'nl': 'Dutch',
'pl': 'Polish',
'pt': 'Portuguese',
'ro': 'Romanian',
'ru': 'Russian',
'sk': 'Slovak',
'sl': 'Slovenian',
'sq': 'Albanian',
'sv': 'Swedish',
'th': 'Thai',
'tl': 'Tagalog',
'tr': 'Turkish',
'uk': 'Ukranian',
'ur': 'Urdu',
'zh': 'Chinese',
'zt': 'Chinese (traditional)'
}
```
### Auto Detect Language ### Auto Detect Language
Request: Request: