Update chatview i18n (design draft)
This commit is contained in:
parent
dc3d7e2903
commit
db7caaa140
|
@ -1,7 +1,5 @@
|
|||
# chatview i18n - design draft
|
||||
|
||||
wip
|
||||
|
||||
The GNOME client's chatview lacks proper i18n support.
|
||||
|
||||
Related bug report: https://git.ring.cx/savoirfairelinux/ring-client-gnome/issues/900
|
||||
|
@ -12,6 +10,18 @@ first ideas:
|
|||
* i18n not trivial, overhead of custom code extremely high => use existing js lib
|
||||
* library will be embedded into the client => code base should be as mature as possible
|
||||
|
||||
## in short
|
||||
|
||||

|
||||
|
||||
(1) either
|
||||
|
||||
C++ tells JS code which language is currently used and JS code loads translations
|
||||
|
||||
or
|
||||
|
||||
C++ loads translations and passes them to JS code together with info about currently used language
|
||||
|
||||
## exisiting js i18n libs
|
||||
|
||||
### [i18next](https://www.i18next.com/)
|
||||
|
|
Loading…
Reference in New Issue