Terrastories / terrastories

Terrastories is a geostorytelling application for mapping, managing and sharing place-based stories.
https://terrastories.app
MIT License
316 stars 157 forks source link

[Rails] Let's make it possible to set the available i18n languages per community #704

Closed rudokemper closed 2 years ago

rudokemper commented 2 years ago

Currently, when you open Terrastories (i.e. by going to http://our.terrastories.io/), there are a defined number of i18n languages that show up. The way this currently works is that in application.rb there is some code that automatically loads in whatever languages are defined in config/locales/. This has worked for now, but will get unsustainable as more languages get added to Terrastories.

Let's (1) specify a default set of languages that show up for a non-logged in user, and (2) allow community administrators to set which languages they want to show for their community when logged in, and the default selected language for their community.

See acceptance criteria below.

Acceptance criteria:

Assets

Screenshot of the welcome screen box with the language picker at the bottom. Currently nl is included as a default; it should not be. image

arlohal commented 2 years ago

Hello! I'm looking for something on this project to dive into and was wondering if this issue was still relevant and something I could potentially start working on. If not, is there another issue that is more pressing?

rudokemper commented 2 years ago

Hi @arlohal! Thank you for your interest :) We are actually about to undergo a major refactor that is going to touch most issues, including this one. So it's not a great time to work on this ticket. There may be others that I can share with you, but it will take me a few days to do so. Post-refactor, this issue will definitely be resurfaced too!