Closed phiter closed 4 years ago
Gonna fix those codeclimate issues later today.
These codeclimate issues are odd. It says invalid token <>
for react fragments. I think that's the only reason the function is exceeding the limit (might be wrong though), because there are other components which have way more LOC.
Example:
Description
This PR adds i18next and react-i18next libraries to the project to initialize the i18n feature.
It also adds a language switch component to both the office and room appbars.
Initially only basic english and portuguese translations have been created.
The language will be set automatically according to the browser setting and if the user changes the language, the choice will be stored in the localStorage.
resolves #341
How to test?
Expected behavior
The language names will change to their versions in the selected language, as well as the tooltip of the language switcher menu activator.