You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
String localization does not work when using the static framework #9072
@dunqi, this issue was tracking a bug affecting the localization of UI strings within the iOS map SDK, not map labels.
MapboxStatic.swift doesn’t have a localizesLabels option as the iOS map SDK does, but it does allow you to specify a custom style URL. In Mapbox Studio, create a new style based on one of the templates, then change the language of each layer containing labels. Finally, click the “Share, develop & use” button to get the style URL that you can set on SnapshotOptions.
Activity
friedbunny commentedon May 23, 2017
Fixed by #9074, will be in v3.6.0-beta.1.
dungi commentedon Dec 11, 2017
So does localization no work with MapboxStatic?
1ec5 commentedon Dec 11, 2017
@dunqi, this issue was tracking a bug affecting the localization of UI strings within the iOS map SDK, not map labels.
MapboxStatic.swift doesn’t have a
localizesLabelsoption as the iOS map SDK does, but it does allow you to specify a custom style URL. In Mapbox Studio, create a new style based on one of the templates, then change the language of each layer containing labels. Finally, click the “Share, develop & use” button to get the style URL that you can set on SnapshotOptions.