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:
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.
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.
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.
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:
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.
Integrate the dropdown menu with
wagtail-localize
. Set upwagtail-localize
to change the website language based on the user's selection in the dropdown menu.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