OpenHistoricalMap / issues

File your issues here, regardless of repo until we get all our repos squared away; we don't want to miss anything.
Creative Commons Zero v1.0 Universal
19 stars 1 forks source link

Frontend changes to support multilingual labels #878

Open danrademacher opened 2 months ago

danrademacher commented 2 months ago

Last piece from #481 is to modify the front end to load the name key that matches a user's language.

Here's @1ec5 s year-old notes from 481:

Pick out the relevant changes from https://github.com/openstreetmap/openstreetmap-website/pull/4042, specifically the parts that install Mapbox GL Language and configure it to prefer the logged-in user’s language preference.

More recently, Minh did the work on the embed site to make Mabox GL Language work. This was a little tricky, so reference his code: https://github.com/OpenHistoricalMap/openhistoricalmap-embed/pull/8