Skip to content

Bug: Irish locale (ga-IE) shows Gabon flag and incorrect language label #5354

@aindriu80

Description

@aindriu80

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-IE instead of the expected default message “Gaeilge”

Checklist

  • Have you pulled and found the error with jc21/nginx-proxy-manager:latest docker 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:

  1. Go to NPM login screen - note incorrect flag
Image
  1. Enter login details,
  2. After logging in, check drop down list
Image

Current Behaviour

  • Flag displayed: GA (Gabon)
  • Language label: locale-ga-IE

Screenshot:

10-02-2026-19-16-49


Expected Behaviour

  • Flag should be: IE (Ireland) 🇮🇪
  • Label should display: Gaeilge

Example (edited in browser console for demonstration):

Screenshot_2026-02-10_19-31-21

Possible Cause

  1. 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
    
  2. 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-IE string to appear.


Summary

This looks like:

  • A locale key mismatch (ie-GA vs ga-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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions