ResultadosDigitais/matrix

Add a language switch

Open

#341 opened on Jul 17, 2020

View on GitHub
 (2 comments) (0 reactions) (0 assignees)JavaScript (243 forks)batch import
hacktoberfestkind: enhancement

Repository metrics

Stars
 (893 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

Feature Description

Add internationalization to the project and allow the user to switch between different languages (maybe a dropdown in the appbar).

Problem

Matrix is growing in usage, specially now with lots of people working from home, and some of these people might not know english, so it would be great if they could use the application in a language they are familiar with.

Proposed solution

We can add a i18n library for the react application and extract all current texts to a language file, and add another language. The .variables file could also have a default language set by the system administrator.

Additional comments

Since this project was created by a brazilian company and many of our users are brazilian, I believe we could benefit from having both english and portuguese translations at first, and then add more later.

The project is still small so the sooner we add i18n, the easier it will be in the future.

Contributor guide