Creates a Spanish version of the site by adding language.js files into each component and exporting a translations object. The site language is kept in both state and local storage, for quick loading and for language persistence by repeat visitors.
Content from the database is not translated. Additionally, the map filters and popups are currently not translated. With the upcoming changes in filtering, I figured I could save a little effort, but if those take a bit to implement I can easily come back and fill in the holes.
This PR addresses issue #40.
Creates a Spanish version of the site by adding
language.js
files into each component and exporting atranslations
object. The site language is kept in both state and local storage, for quick loading and for language persistence by repeat visitors.Content from the database is not translated. Additionally, the map filters and popups are currently not translated. With the upcoming changes in filtering, I figured I could save a little effort, but if those take a bit to implement I can easily come back and fill in the holes.
Map page in Spanish
Dropdown
Nav in English on mobile
@meganrm