Skip to content

Translations for the scouting app - #13

Open
tomj-1 wants to merge 7 commits into
mainfrom
tom-translations
Open

Translations for the scouting app #13
tomj-1 wants to merge 7 commits into
mainfrom
tom-translations

Conversation

@tomj-1

@tomj-1 tomj-1 commented Feb 26, 2026

Copy link
Copy Markdown
Contributor

#12 the translations are a work in progress, don't review yet I did this to link it to the issue

@cuttestkittensrule cuttestkittensrule left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like the wrong language code was used for one translation, but other than that, it looks good (though I can't vouch for the accuracy of the translations on account of not speaking the languages)

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what language is this? This has the language code for Czech.
It looks like Japaneese or Chineese; here are the language codes for them:
Chinese: zh
Japanese: ja

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

its mandarin simplified let me see how to differentiate them and I'll see if I can find the proper language code

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cuase mandarin there tradiational and simplfied

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like currently, compose multiplatform doesn't support having different resources for different scripts, like Hans and Hant (see https://youtrack.jetbrains.com/issue/CMP-4449/Ability-to-support-more-language-and-region-qualifiers). It does support region codes (like https://developer.android.com/guide/topics/resources/app-languages#locale-names). If we want to have both traditional and simplified, the best we can do right now is to use the regions where simplified and traditional are used.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for the research, for simplified I'll do china(rCN) and traditional Taiwan(rTW)

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should be able to use resources for different scripts (like Hans and Hant) once Compose Multiplatform version 1.12.0 comes out, since support for it was added 3 weeks ago (so if we want to use it we just need to wait for the next release)

Comment thread gradle/libs.versions.toml Outdated
@@ -1,5 +1,5 @@
[versions]
agp = "8.11.2"
agp = "8.13.2"

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a specific reason you updated AGP? According to the compatibility table, this change would drop support for Android Studio Narwhal and Android Studio Narwhal Feature Drop

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think I clicked something to update android studio I can revert back if you want me to

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please revert back for now.

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.

2 participants