Skip to content

Remove regional markers from the language name [e.g. "English (US)"] in views for user-generated content #17419

@superuser-does

Description

@superuser-does

Background

Lila rolls up regional variants of a language into a single user-facing entry for UGC. This is for cases where we store the language as user-selectable metadata (blogs, coaches, maybe more).

So English and Portuguese for example have a single entry, instead of separate entries for US/International English and European/Brazilian Portuguese. This is a sensible way to approach it in general.

The names of these languages are taken directly from the LangList.scala. Because of how this was implemented, they consequently include a regional variation in their name e.g. "English (US)" and "Português (BR)".

language list

Proposal

Change the way that languages appear on the frontend, so that regional variations are removed from the names of the languages shown to users.
e.g. "English (US)" would become just "English", and "Português (BR)" would become "Português".

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