refactor(locale): draw per-app language from floret-kit core-locale

Replace the app-local AppLanguage with the shared
de.jeanlucmakiola.floret.locale.AppLanguage. The kit version is identical
except supportedTags() takes the locales_config XML res id as a parameter
(the kit can't reference the app's R), so the call site now passes
R.xml.locales_config. Wire the core-locale module into the app.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-06-28 19:43:43 +02:00
parent 71a08af514
commit 926600ed3d
3 changed files with 3 additions and 79 deletions

View File

@@ -160,6 +160,7 @@ dependencies {
implementation(libs.kotlinx.datetime)
implementation("de.jeanlucmakiola.floret:core-time")
implementation("de.jeanlucmakiola.floret:core-locale")
implementation(libs.kotlinx.coroutines.core)
debugImplementation(libs.androidx.ui.tooling)