Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support localization of bundled strings #3360

Closed
igordmn opened this issue Jul 18, 2023 · 5 comments · Fixed by JetBrains/compose-multiplatform-core#1158
Closed

Support localization of bundled strings #3360

igordmn opened this issue Jul 18, 2023 · 5 comments · Fixed by JetBrains/compose-multiplatform-core#1158
Assignees
Labels
commonization enhancement New feature or request material3 p:high High priority

Comments

@igordmn
Copy link
Collaborator

igordmn commented Jul 18, 2023

Currently, material3 has English Strings hardcoded:
image

@igordmn igordmn added enhancement New feature or request p:high High priority labels Jul 18, 2023
@igordmn
Copy link
Collaborator Author

igordmn commented Jul 18, 2023

A possible solution is to provide a CompositionLocal.

@igordmn
Copy link
Collaborator Author

igordmn commented Jul 18, 2023

Another solution - support strings.xml, similar to Android way

@igordmn igordmn changed the title material3. Support localization Support localization Feb 9, 2024
@igordmn igordmn changed the title Support localization Support localization of bundled strings Feb 9, 2024
@igordmn
Copy link
Collaborator Author

igordmn commented Feb 9, 2024

Also in foundation/../BasicTooltipBoxInternal (Compose 1.6.0)

@gleb-skobinsky
Copy link

Hi, are there any plans to fix this issue, maybe some approximate dates? In our team, these English labels in otherwise completely Russian-language app look really bad

@dima-avdeev-jb
Copy link
Contributor

@gleb-skobinsky
Hello! We need some architectural changes between modules (artifacts) to solve this Issue. So, we need a time to plan it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
commonization enhancement New feature or request material3 p:high High priority
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants