Update chatview i18n (design draft)

This commit is contained in:
Hugo Lefeuvre 2018-11-29 13:06:41 -05:00
parent dc3d7e2903
commit db7caaa140
1 changed files with 12 additions and 2 deletions

View File

@ -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
![IMAG0764](/uploads/80d66818edb77e44dadf1bb23976e724/IMAG0764.jpg)
(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/)