Closed Bug 918810 Opened 11 years ago Closed 9 years ago

allow localized pages to be activated from a single lang file

Categories

(www.mozilla.org :: Bedrock, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: pascalc, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [kb=1143561] )

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" %}
Whiteboard: [kb=1143561]
Triaging some old bugs. Pascal, is this still valid and a priority?
Flags: needinfo?(pascalc)
I believe this is fixed.
Status: NEW → RESOLVED
Closed: 9 years ago
Flags: needinfo?(pascalc)
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.