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

feat: display localized product name and description #351

Merged
merged 1 commit into from
Jun 12, 2023

Conversation

BLumia
Copy link
Contributor

@BLumia BLumia commented Jun 11, 2023

When loading product data from indexV1, try to follow the user's locale setting when possible so the information will be localized.

The getBestLocale() helper method was reused from F-droid source code (part of LocaleChooser.kt). Other part wrote by myself.

When loading product data from indexV1, try to follow the user's locale
setting when possible so the information will be localized.

The `getBestLocale()` helper method was reused from F-droid source
code (part of `LocaleChooser.kt`). Other part wrote by myself.

Resolve: Droid-ify#337
@BLumia
Copy link
Contributor Author

BLumia commented Jun 11, 2023

The test CI seems failed on gradlew and it seems #309 have related fix about this CI. Should I add related change to this PR (might causing that PR needs to be rebased/resolve merging conflicts)?

@Iamlooker
Copy link
Member

The test CI seems failed on gradlew and it seems #309 have related fix about this CI. Should I add related change to this PR (might causing that PR needs to be rebased/resolve merging conflicts)?

No, we can ignore it for now.

@Iamlooker
Copy link
Member

I will review the code in a while

@Iamlooker Iamlooker merged commit 1d706f6 into Droid-ify:main Jun 12, 2023
@Iamlooker
Copy link
Member

Thanks a lot for help with this :)

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.

Make repositories descriptions translatable
2 participants