Open Bug 1597692 Opened 5 years ago Updated 2 years ago

Create a runtime version of brand.ftl

Categories

(Firefox :: General, enhancement)

enhancement

Tracking

()

People

(Reporter: Pike, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(2 obsolete files)

Let's create a non-build variant of brand.ftl. That should be helpful in a variety of ways, most prominently it'll help to make language packs independent of update channel.

I'm explicitly not bothering about brand.dtd nor brand.properties, or MOZ_APP_DISPLAYNAME.

The idea is to:

  • Create a built-in Fluent function like PLATFORM, say BRANDING.
  • Port brand.ftl into browser/browser/branding/brandings.ftl
  • Drop the use of brand.ft, replacing with brandings.ftl where needed

The reason to use the existing brandings.ftl is that they're already serving that purpose, and we're reducing the number of fluent files in a context by 1 many brand-dependent contexts, I guess.

Risks: Performance, at the very least. If so, I'll need to pass this on to someone that can help on the perf side.

Assigning a priority to get this out of the triage list. It looks like this is being currently worked on, so P1, but please adjust as necessary.

Priority: -- → P1

I think this is still something we should eventually do, but after the move to fluent.rs, exposing globals like this doesn't work anymore.

I don't intend to drive this one forward. Zibi, do you want to pick this up?

Anyway, unassigning myself, resetting priority. The latter as its been set based on me working on this, so that's not justified anymore right now.

Assignee: l10n → nobody
Priority: P1 → --

Bugbug thinks this bug should belong to this component, but please revert this change in case of error.

Component: General → Internationalization
Product: Firefox → Core
Component: Internationalization → General
Product: Core → Firefox
Attachment #9109985 - Attachment is obsolete: true
Attachment #9109986 - Attachment is obsolete: true
Blocks: 1725434
Blocks: 1731619
No longer blocks: 1725434
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: