It would be great to support common languages spoken in the Bay Area besides English. Spanish seems like the natural one to start with. Later if there's interest we could branch out to the other languages that are included in Muni announcements (Cantonese and Filipino) and beyond.
[x] basic setup
[x] add react-intl
[x] select Spanish if it is the browser's default locale
[x] allow overriding locale via a query param for dev/testing
[x] create a project on a translation service such as weblate (blocked by #248)
[x] set up CI to extract and upload messages and download the translations (see pipeline diagram) - This is done except that we have to run the extract and compile scripts manually and commit the results. Should improve later.
[ ] actual translation
[ ] convert all user-facing frontend strings to translatable messages. Mostly done except:
[ ] #335
[x] #333
[x] #334
[ ] double-check that there isn't something else as well...
[x] enable formatjs/no-literal-string-in-jsx lint to verify completeness of above task
It would be great to support common languages spoken in the Bay Area besides English. Spanish seems like the natural one to start with. Later if there's interest we could branch out to the other languages that are included in Muni announcements (Cantonese and Filipino) and beyond.
formatjs/no-literal-string-in-jsx
lint to verify completeness of above task