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

change language code validation #3755

Merged
merged 1 commit into from
Mar 28, 2023
Merged

Conversation

micbar
Copy link
Member

@micbar micbar commented Mar 27, 2023

Bugfix: Fix app provider language validation

This changes the validation to only look at the first part (tag) of the language code and ignore the second part (sub-tag).

@labkode
Copy link
Member

labkode commented Mar 28, 2023

@glpatcern something worth cherry-picking to master?

@glpatcern
Copy link
Member

Yep, looked at it already 👀 and no, the way we pass the language in master is actually different as we read it from the configuration, and we're assuming the config is correct (i.e. not having the "subtag"). We use en-GB in prod.

@micbar micbar merged commit 9bafcee into cs3org:edge Mar 28, 2023
@micbar micbar mentioned this pull request May 3, 2023
89 tasks
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.

4 participants