The map localization plugin added in #74 only works if a text-field property is set to a constant value that uses the legacy token syntax, e.g. {name_en}. In a style such as Mapbox Streets, some layers’ text-fields are set to camera functions, so they remain unlocalized. To make matters worse, future versions of these and other styles will be written for versions of the SDK that support expressions. {name_en} will become ["get", "name_en"], so this plugin will end up having no effect whatsoever.
/ref mapbox/mapbox-gl-native#10713 mapbox/mapbox-gl-js#6197
/cc @langsmith @tobrun
The map localization plugin added in #74 only works if a
text-fieldproperty is set to a constant value that uses the legacy token syntax, e.g.{name_en}. In a style such as Mapbox Streets, some layers’text-fields are set to camera functions, so they remain unlocalized. To make matters worse, future versions of these and other styles will be written for versions of the SDK that support expressions.{name_en}will become["get", "name_en"], so this plugin will end up having no effect whatsoever./ref mapbox/mapbox-gl-native#10713 mapbox/mapbox-gl-js#6197
/cc @langsmith @tobrun