Skip to content

[BUG] Do not uppercase bcp-47 codes AND use actual names instead of codes #4790

@HarikalarKutusu

Description

@HarikalarKutusu

bcp-47 coding we have been using for variants have capitalization rules. On the other hand the UI makes the whole code uppercase.

So ady-Latn-TR-t-ady-cyrl becomes:

Image

It should be kept as it comes from the database.

Also, as the code is not intelligible for everybody, actually the provided "variant_name" should be shown when presenting variants (here Adığabze (Latin, Turk, transliteratse - Batı Çerkesçesi)):

Image

Here is the related definition:

  {
    locale_name: 'ady',
    variant_name: 'Adığabze (Latin, Turk, transliteratse - Batı Çerkesçesi)',
    variant_token: 'ady-Latn-TR-t-ady-cyrl',
  },

Metadata

Metadata

Assignees

No one assigned

    Labels

    Blocked: info neededWaiting for response from reporterBugVariantA language variant request or issues related to language variants

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions