Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: set correctly the Onlyoffice editor language - EXO-64615 #207

Merged
merged 1 commit into from
Aug 9, 2023

Conversation

ahamdi
Copy link
Member

@ahamdi ahamdi commented Aug 9, 2023

The property lang was holding a wrong value of the language like en- or fr- which was not interpreted correctly by the onlyoffice editor and the language was always set to Enlish and Aerbidjan country (defaults)
The fix returns just the language (without the country variant), it adds the country language just for Taiwan chinese and Portugal portuguese as detailed in documentation https://api.onlyoffice.com/editors/config/editor#lang

@ahamdi ahamdi enabled auto-merge (squash) August 9, 2023 16:11
@ahamdi ahamdi self-assigned this Aug 9, 2023
@sonarcloud
Copy link

sonarcloud bot commented Aug 9, 2023

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

66.7% 66.7% Coverage
0.0% 0.0% Duplication

@ahamdi ahamdi merged commit 1dd76c8 into feature/maintenance Aug 9, 2023
6 checks passed
@ahamdi ahamdi deleted the fix/EXO-64615 branch August 9, 2023 16:45
ahamdi added a commit that referenced this pull request Aug 10, 2023
The property lang was holding a wrong value of the language like en- or fr- which was not interpreted correctly by the onlyoffice editor and the language was always set to Enlish and Aerbidjan country (defaults)
The fix returns just the language (without the country variant), it adds the country language just for Taiwan chinese and Portugal portuguese as detailed in documentation https://api.onlyoffice.com/editors/config/editor#lang
ahamdi added a commit that referenced this pull request Aug 10, 2023
The property lang was holding a wrong value of the language like en- or fr- which was not interpreted correctly by the onlyoffice editor and the language was always set to Enlish and Aerbidjan country (defaults)
The fix returns just the language (without the country variant), it adds the country language just for Taiwan chinese and Portugal portuguese as detailed in documentation https://api.onlyoffice.com/editors/config/editor#lang
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants