internxt / drive-desktop

https://internxt.com/drive
GNU Affero General Public License v3.0
168 stars 21 forks source link

[PB-942] fix: system language not selected #350

Closed JoanVicens closed 1 year ago

JoanVicens commented 1 year ago

When there is no preferred language by the user the UI is shown with the most preferred/selected language but the language selector defaults to English.

To solve it if the most preferred system language is queried then is also set as the preferred by the app. If the most preferred system language is not one that is available it defaults to English.

The preferred system language is only queried if the user's is not set

sonarcloud[bot] commented 1 year ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication