Jetbrains provides an official solution for declaring string resources in Kotlin Multiplatform projects with Compose Multiplatform 1.6. The resource set supports images, fonts, strings, and raw files. String resources are declared in an XML file and accessible through the `Res.string` class. String rendering functions are similar to those in Jetpack Compose for Android. String templates can be used to inject string or decimal arguments. Plurals and certain argument configurations have limitations. Compose Multiplatform's string resources are not optimized by the Google Play Store. The feature has the potential to become the new standard in Kotlin Multiplatform projects.

4m read timeFrom droidcon.com
Post cover image

Sort: