Translations

Learn here how to do translations in AppKickstarter.

Moko resources folder

AppKickstarter leverages Moko resources to manage translations.

In shared module, in commonMain, there is a moko-resources folder.

In this folder there are base localization, all the localizations you want (here fr), images and fonts.

All the resources here are bundled in the target platform (Android, iOS, etc).

Define XML key values

Base strings.xml:

French strings.xml:

Access in shared code or every where in the project

Use SharedRes.strings to access localizations:

Last updated

Was this helpful?