Resolution order: ?lang= → localStorage['gl-lang'] → ui.language → "fr" — the
same order initI18n applies, derived from the SAME state rather than
recomputed, so the two cannot drift.
Exposed on GeoLeaf.I18n because the code was computed internally and never published:
consumers that need to format a number or a date in the profile's language had no way
to ask, and hard-coded "fr-FR" instead (CAPACITÉS B.26 named this gap).
Returns the active language code (
"fr","en", …).Resolution order:
?lang=→localStorage['gl-lang']→ui.language→"fr"— the same order initI18n applies, derived from the SAME state rather than recomputed, so the two cannot drift.Exposed on
GeoLeaf.I18nbecause the code was computed internally and never published: consumers that need to format a number or a date in the profile's language had no way to ask, and hard-coded"fr-FR"instead (CAPACITÉS B.26 named this gap).