Closed lance0109 closed 1 year ago
I have a similar issue, where labels of South Tyrol are not translated
This might not be your issue, but i had a similar issue and mine was becuase the map style i was using was not supported correctly. If you want to check, use mapbox://styles/mapbox/streets-v11
as your style to test
When you get a style that is based on v8 but is a custom style, it doesnt actually error out, it just localizes all the languages based on their local areas (ie china is in chinese, iran is arabic, etc etc). Try it with a default style
it works fine in live server. close the ticket.
version: "@mapbox/mapbox-gl-language": "^1.0.0", "mapbox-gl": "^2.4.0"
styles: 'mapbox://styles/mapbox/light-v10'
When set the language to 'zh-Hans', just translate China & Japan to Chinese, not whole world.