-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[resources] Select default resource if there are no exact language+re…
…gion or default language match (#4577) We need to filter by language and region together because there is slightly different logic: 1) if there is the exact match language+region then use it 2) if there is the language WITHOUT region match then use it 3) in other cases use items WITHOUT language and region qualifiers at all Given resources: values values-en-rUS values-de Filter results: "en" -> values "en-US" -> values-en-rUS "en-GB" -> values "de-IT" -> values-de fixes #4571
- Loading branch information
Showing
2 changed files
with
44 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters