Skip to content

Localize map labels into user-preferred languages#4205

Merged
1ec5 merged 1 commit into
mainfrom
NAVIOS-686-1ec5-localize-labels-current-4190
Oct 19, 2022
Merged

Localize map labels into user-preferred languages#4205
1ec5 merged 1 commit into
mainfrom
NAVIOS-686-1ec5-localize-labels-current-4190

Conversation

@1ec5
Copy link
Copy Markdown
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