Skip to content

Dev language - #161

Open
Mandvii wants to merge 38 commits into
mainfrom
dev-language
Open

Dev language#161
Mandvii wants to merge 38 commits into
mainfrom
dev-language

Conversation

@Mandvii

@Mandvii Mandvii commented Feb 11, 2026

Copy link
Copy Markdown
Collaborator

In app langage selection-

  • System Settings
  • In app settings
  • User opens app

… users to change the application's language independently of the system settings.
…ity to use Android's built-in per-app language support.
…rious code formatting inconsistencies within the `SettingsViewModel`, including spacing and line breaks.
  unique internal code, `system_default_internal`, is now used to represent the "System Default" language option, preventing potential conflicts with actual language codes like "en".
This commit refactors the application's language handling by removing the `RespectMobileSystemCommon` class and consolidating its logic and data structures into `SupportedLanguagesConfig`.
@mikedawson mikedawson linked an issue Feb 12, 2026 that may be closed by this pull request
Mandvii and others added 15 commits February 12, 2026 16:17
# Conflicts:
#	respect-lib-shared/src/commonMain/kotlin/world/respect/shared/domain/applanguage/SupportedLanguagesConfig.kt
#	respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/onboarding/OnboardingViewModel.kt
#	respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/settings/SettingsViewModel.kt
This commit enhances the `LanguageDropdown` component with the following changes:

*   **UI Text:** Replaces the generic "Language" label with the more descriptive "Choose your language" to improve user experience.
*   **Testability:** Adds a `testTag("choose_language")` to the `ExposedDropdownMenuBox` to make the component easier to find and interact with in UI tests.
*   **Cleanup:** Removes an unused string resource import (`Res.string.language`).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

In-app language selection

2 participants