Skip to content

Add available-locale discovery and a language selector to i18n#15940

Merged
jdaugherty merged 6 commits into
apache:8.0.xfrom
codeconsole:feat/i18n-available-locale-selector
Jul 10, 2026
Merged

Add available-locale discovery and a language selector to i18n#15940
jdaugherty merged 6 commits into
apache:8.0.xfrom
codeconsole:feat/i18n-available-locale-selector

Address review: type-based resolver lookup, consistent default locale…

9d79f67
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Jul 10, 2026 in 1s

49.5322% (+0.1414%) compared to b5e583a

View this Pull Request on Codecov

49.5322% (+0.1414%) compared to b5e583a

Details

Codecov Report

❌ Patch coverage is 87.01299% with 10 lines in your changes missing coverage. Please review.
✅ Project coverage is 49.5322%. Comparing base (b5e583a) to head (9d79f67).
⚠️ Report is 46 commits behind head on 8.0.x.

Files with missing lines Patch % Lines
...g/grails/plugins/i18n/AvailableLocaleResolver.java 92.4528% 1 Missing and 3 partials ⚠️
...vy/org/grails/plugins/i18n/I18nGrailsPlugin.groovy 76.4706% 1 Missing and 3 partials ⚠️
...vy/org/grails/plugins/web/taglib/FormTagLib.groovy 66.6667% 0 Missing and 2 partials ⚠️
Additional details and impacted files

Impacted file tree graph

@@                Coverage Diff                 @@
##                8.0.x     #15940        +/-   ##
==================================================
+ Coverage     49.3909%   49.5322%   +0.1414%     
- Complexity      16808      16919       +111     
==================================================
  Files            1993       1999         +6     
  Lines           93495      93747       +252     
  Branches        16360      16418        +58     
==================================================
+ Hits            46178      46435       +257     
+ Misses          40180      40153        -27     
- Partials         7137       7159        +22     
Files with missing lines Coverage Δ
...org/grails/plugins/i18n/I18nAutoConfiguration.java 82.7586% <100.0000%> (+7.7586%) ⬆️
...vy/org/grails/plugins/web/taglib/FormTagLib.groovy 76.4808% <66.6667%> (-0.1448%) ⬇️
...g/grails/plugins/i18n/AvailableLocaleResolver.java 92.4528% <92.4528%> (ø)
...vy/org/grails/plugins/i18n/I18nGrailsPlugin.groovy 38.4615% <76.4706%> (+38.4615%) ⬆️

... and 34 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.