allow localized pages to be activated from a single lang file

RESOLVED FIXED

Status

www.mozilla.org
Bedrock
RESOLVED FIXED
4 years ago
3 years ago

People

(Reporter: pascalc, Unassigned)

Tracking

(Blocks: 1 bug)

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [kb=1143561] )

(Reporter)

Description

4 years ago
Some templates are using the same strings from a single lang file, so as to activate them we need to create an empty lang file with only the ## active ## tag in it.

We should be able to define in the template which lang file it should use to look at the active tag.

ex:
upgradedialog.lang is used by:
https://www.mozilla.org/en-US/firefox/unsupported/details/
https://www.mozilla.org/en-US/firefox/unsupported/mac/
https://www.mozilla.org/en-US/firefox/unsupported/win/

if the active tag is set in upgradedialog.lang it should activate the 3 variants of the page above.

Maybe a template tag such as:

{% activate_from_lang_file "upgradedialog" %}

Updated

4 years ago
Whiteboard: [kb=1143561]
Triaging some old bugs. Pascal, is this still valid and a priority?
Flags: needinfo?(pascalc)
(Reporter)

Comment 2

3 years ago
I believe this is fixed.
Status: NEW → RESOLVED
Last Resolved: 3 years ago
Flags: needinfo?(pascalc)
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.