Closed Bug 1590943 Opened 6 years ago Closed 5 years ago

Language Packs for Locales should be vetted for MOZ_LANG_TITLE before being enabled

Categories

(Localization Infrastructure and Tools Graveyard :: Quality, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: Callek, Unassigned)

Details

Hey Flod,

This bug is what caused some of the confusion by Jordan during 71's cycle because, for example trs has Inglês (EU) which means the description for the addon as AMO showed it was Inglês (EU) Language Pack for tl its English (US) as well :(

because that is what gets baked into the addon itself https://searchfox.org/mozilla-central/source/python/mozbuild/mozbuild/action/langpack_manifest.py#401

Is this part of the checklist and was missed, or shall we add it?

Flags: needinfo?(francesco.lodolo)

(In reply to Justin Wood (:Callek) from comment #0)

Hey Flod,

This bug is what caused some of the confusion by Jordan during 71's cycle because, for example trs has Inglês (EU) which means the description for the addon as AMO showed it was Inglês (EU) Language Pack for tl its English (US) as well :(

because that is what gets baked into the addon itself https://searchfox.org/mozilla-central/source/python/mozbuild/mozbuild/action/langpack_manifest.py#401

Is this part of the checklist and was missed, or shall we add it?

It used to be part of the old documentation, but it was never ported over to the current one, and I completely forgot to check it this time.

I need to update the documentation on my side before EOY, and will include it.

Flags: needinfo?(francesco.lodolo)

Additional thought: I don't think this check can be automated, it needs to be on a manual checklist.

In automation, the best I can do is to check if the key is not defined, or if "(US)" is in the translation. The latter would have still failed for trs.

Flags: needinfo?(francesco.lodolo)

Yes, it can be closed.

Status: NEW → RESOLVED
Closed: 5 years ago
Flags: needinfo?(francesco.lodolo)
Resolution: --- → FIXED
Product: Localization Infrastructure and Tools → Localization Infrastructure and Tools Graveyard
You need to log in before you can comment on or make changes to this bug.