qubic / wallet-app

Other
2 stars 7 forks source link

To make the mobile wallet app to support localisation #18

Closed sallymoc closed 1 month ago

sallymoc commented 4 months ago

App is currently supporting only english and strings are hardcoded. The purpose of this ticket is to extract the keys from the code to localisation files and to translate them to different languages (languages prioritisation tbd) Once we have the files ready to translate, @AndyQus can supports us to get them done from community members supporting already in other products translations.

sallymoc commented 3 months ago

Localisations to be handled using .arb files "ARB stands for Application Resource Bundle. It is essentially a JSON file enhanced for localization, with an .arb extension. Since it is based on JSON, it just defines standardized ways of adding additional information to key-value pairs."

sallymoc commented 3 months ago

I did a POC using the gen_l10n tool and seems to. be a good option to use. To be reviewed with @Qubic-Hub