-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Description
Description
After upgrading to v2.13.7 and now running v2.14.0, the Irish locale (ga-IE) appears with:
- 🇬🇦 Gabon flag (GA) instead of 🇮🇪 Ireland (IE)
- The label displays
locale-ga-IEinstead of the expected default message “Gaeilge”
Checklist
- Have you pulled and found the error with
jc21/nginx-proxy-manager:latestdocker image?- Yes
- Are you sure you're not using someone else's docker image?
- Yes
- Have you searched for similar issues (both open and closed)?
- Yes
To Reproduce
Steps to reproduce the behavior:
- Go to NPM login screen - note incorrect flag
- Enter login details,
- After logging in, check drop down list
Current Behaviour
- Flag displayed: GA (Gabon)
- Language label:
locale-ga-IE
Screenshot:
Expected Behaviour
- Flag should be: IE (Ireland) 🇮🇪
- Label should display: Gaeilge
Example (edited in browser console for demonstration):
Possible Cause
-
The flag logic appears to derive the country code from the language code (
ga → GA), which results in the Gabon flag.It likely needs a special case mapping similar to:
ga: "ie"in
getFlagCodeForLocale()inside:frontend/src/locale/IntlProvider.tsx -
In
frontend/src/locale/src/lang-list.json, the key appears to be:"locale-ie-GA": { "defaultMessage": "Gaeilge" }
but elsewhere the UI expects:
"locale-ga-IE"This mismatch likely causes the untranslated
locale-ga-IEstring to appear.
Summary
This looks like:
- A locale key mismatch (
ie-GAvsga-IE) - Missing special-case flag mapping (
ga → IE)
I’m happy to submit a follow-up PR once the preferred approach is confirmed.
Nginx Proxy Manager Version
v2.14.0
Operating System
Raspberry Pi 4. NPM running in Docker container.
