Skip to content

Rename language identifiers to support /usr/share/i18n/SUPPORTED #2468

@buhtz

Description

@buhtz

Follow-up of debian#1103042

Current BIT is using language codes (for gettext po/mo files) following "more modern" IETF language tags. These are not supported by gettext/locales.

Example use case is a user setup its Debian GNU/Linux to "Serbian (Latin)". The locales system is using sr@Latin to identify this. BIT doesn't recognize it because it is using `sr_Latin" for "Serbian (Latin)".

Thank you to the Guillem Jover from Debian, explaining this to me. guillem@debian.org

ToDo

  • Weblate is not able to add sr@Latin as "New language". But try how Weblate sync ("Discard" button) react to a new po file in upstream repo named sr@Latin.po.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugLowrelevant, but not urgentTranslationRelated to localization (l10n) and Internationalization (i18n) content and infrastructure

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions