diff --git a/chatview-i18n-(design-draft).md b/chatview-i18n-(design-draft).md index 3178e17f..74e6a2c9 100644 --- a/chatview-i18n-(design-draft).md +++ b/chatview-i18n-(design-draft).md @@ -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/)