add Thai and (missing) Ukrainian loaders, mention Thai translation

This commit is contained in:
or-else
2023-09-25 14:13:17 -07:00
parent 3a8ee3e2dd
commit d128cec90d
3 changed files with 7 additions and 3 deletions
+4 -3
View File
@@ -40,15 +40,16 @@ This is _NOT_ a standalone app, this is just a frontend, a client. It requires a
The app is fully internationalized using [React-Intl](https://github.com/formatjs/react-intl). The UI language is selected automatically from the language specified by the browser. A specific language can be forced by adding `#?hl=XX` parameter to the URL when starting the app, e.g. https://web.tinode.co/#?hl=fr.
The app is currently available in the following languages:
* English
* Chinese (simplified)
* Chinese (traditional)
* English - default
* Chinese simplified
* Chinese traditional
* French
* German
* Korean
* Romanian
* Russian
* Spanish
* Thai
* Ukrainian
More translations are welcome. See [instructions](https://github.com/tinode/chat/blob/devel/docs/translations.md#webapp).
File diff suppressed because one or more lines are too long
+2
View File
@@ -31,6 +31,8 @@ const messageLoader = {
'ko': _ => import('./i18n.min/ko.json'),
'ro': _ => import('./i18n.min/ro.json'),
'ru': _ => import('./i18n.min/ru.json'),
'th': _ => import('./i18n.min/th.json'),
'uk': _ => import('./i18n.min/uk.json'),
'zh': _ => import('./i18n.min/zh.json'),
'zh-TW': _ => import('./i18n.min/zh-TW.json')
};