digital-resources icon indicating copy to clipboard operation
digital-resources copied to clipboard

Feature: Multi-language (en + ro) content

Open ViorelMocanu opened this issue 1 year ago • 0 comments

It would be nice to have a working language picker:

  • if the visitor is not logged in, it should default to the browser language with progressively enhanced geotagging for Romania vs rest of World, and when the user switches language, it should write a cookie or a local storage variable that should store the correct language choice for that browser / session
  • if the visitor is logged in, the user profile should contain the language choice, which should affect the entire website (including the admin)

https://docs.astro.build/en/guides/internationalization/ https://docs.astro.build/en/recipes/i18n/ https://github.com/alexandre-fernandez/astro-i18n

There's an open issue that was accepted by the Astro team recently and could guide future paths of resolving this nicely: https://github.com/withastro/roadmap/issues/701

ViorelMocanu avatar Sep 17 '23 20:09 ViorelMocanu