hotosm / website

Other
2 stars 0 forks source link

As a user, I want a language switcher on the website so that I can view the content in my preferred language. #12

Closed katporks closed 8 months ago

katporks commented 9 months ago

In this issue, we aim to enhance the user experience by providing a language switcher on the website. This will allow users to view the website content in their preferred language.

Tasks to be completed:

  1. Create a dropdown menu for the language switcher (currently a placeholder in the header). This dropdown should list all the languages supported by the website and allow users to select their preferred language.

  2. Integrate the dropdown menu with wagtail-localize. Set up wagtail-localize to change the website language based on the user's selection in the dropdown menu.

  3. Write tests for the new functionality ensuring at least 90% test coverage. This includes tests for the dropdown menu functionality and the integration with wagtail-localize.

This issue is dependent on the following: https://github.com/hotosm/website/issues/14