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

Localize map labels into user-preferred languages #4205

Merged
merged 1 commit into from
Oct 19, 2022

Conversation

1ec5
Copy link
Contributor

@1ec5 1ec5 commented Oct 18, 2022

Fixed an issue where the NavigationMapView.localizeLabels() method only localized map labels according to the user’s Preferred Language Order setting if the application also had a localization in the preferred language. The application’s UI language is irrelevant to whether the map should be localized into a language that the user says they prefer.

This change won’t be a problem for backwards compatibility: the method’s documentation comment says it honors the preference and doesn’t mention anything about the preference being constrained to the application bundle’s languages.

Fixes #4190.

/cc @mapbox/navigation-ios

The application’s UI language is irrelevant to whether the map should be localized into a language that the user says they prefer in Settings.
@1ec5 1ec5 added bug Something isn’t working topic: localization labels Oct 18, 2022
@1ec5 1ec5 added this to the v2.9 milestone Oct 18, 2022
@1ec5 1ec5 self-assigned this Oct 18, 2022
@1ec5 1ec5 merged commit 33db156 into main Oct 19, 2022
@1ec5 1ec5 deleted the NAVIOS-686-1ec5-localize-labels-current-4190 branch October 19, 2022 03:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn’t working topic: localization
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: localizeLabels doesn't apply without translations
2 participants