Open
Description
adaptPropertyLanguage()
should attempt to localize expressions used as text-field
s. Currently, it only works for constant strings and style functions.
mapbox/mapbox-gl-js#6197 is a proposal to make label localization a built-in feature of the style specification. In the meantime, mapbox/mapbox-gl-native#11651 has a comprehensive implementation of label localization in Objective-C. While that implementation targets NSExpression’s syntax, the same logic should more or less apply when working with style JSON objects.