6
Translating client app using LocaleAPI
Source: appwrite/appwrite#1401 · opened by @Meldiron
Since we have a LocaleAPI that can provide useful information about countries, phone numbers and language codes could finish the full circle and get an API to locale our own texts? This shouldn't be hard to implement, it could simply be an internal collection. In SDK, we could have something like this.sdk.locale.getTranslation("my-text-key"); that would get a message with this customID translated into the language I currently have selected (or fallback to default language). In administration, there could be new "Translations" section where we can define a key-value pair where the key is customID and value is the translation itself. This could have multiple tabs for multiple languages we translate our application to. Finally, we need some way to use placeholder, pluralization and date localization, but I believe this is a part of some protocol (i18n?) so it should not be a problem to research. In future, we could get implementations into specific fr…
No pledges yet. Be the first to back this.
No comments yet.