Open Bug 1942055 Opened 28 days ago Updated 28 days ago

Formatting of Names Not in Translations Engine Could be Improved

Categories

(Fenix :: Translations, task)

All
Android
task

Tracking

(Not tracked)

People

(Reporter: olivia, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(3 files)

When a language is not known to the translations engine, then the language name from the page language is acquired from the L10N naming list. It appears the formatting on language name + script might not be as expected. For example, in bug 1937842, a page in Simplified Chinese was displayed as Chinese (Simplified Han,China).

Comparison:
Desktop uses just Chinese as the language tag before support was added.
The translation engine displays this as Chinese (Simplified) when model support is added.

Will need to consult with L10N or a content designer on how this should be formatted.

Severity: -- → N/A
Attached image EngineName.png
Summary: Formatting of Simplified Chinese Could be Improved → Formatting of Names Not in Translations Engine Could be Improved
See Also: → 1937842
Blocks: 1909674

Block in TranslationsDialogBinding.kt that needs to be examined:

 val userLocale = browserState.locale ?: LocaleManager.getSystemDefault()
LocaleUtils.getLocalizedDisplayName(
  userLocale = userLocale,
  languageLocale = documentLocale,
)

Likely getLocalizedDisplayName may need an adjustment.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: