.lang file {ok} tag avoids untranslated skip

RESOLVED FIXED

Status

RESOLVED FIXED
a year ago
a year ago

People

(Reporter: CocoMo, Assigned: pmac)

Tracking

Production

Firefox Tracking Flags

(Not tracked)

Details

(URL)

(Reporter)

Description

a year ago
This was originally reported from new Firefox pages in German. A little background of the files with common strings:
- Features and Support in firefox/shared.lang were localized.  Later they were reverted to English but the changes were not picked up on dev, staging or production.
- firefox/shared.lang captures the common strings shared among the 12 new Firefox pages recently launched.
- Features and Support are two terms appeared in main.lang file which capture common strings including footer among mozilla.org pages.

When working with the .lang file:
- There can't be two identical strings in one file.  
- If the localized string happens to be the same as English, the localized string should be labeled with {ok}.  Example:
;Plug-in
Plug-in {ok}
- When a file is newly released for localization, the page won't be activated on production unless the file is fully localized.

Comment 1

a year ago
Commits pushed to master at https://github.com/mozilla/bedrock

https://github.com/mozilla/bedrock/commit/6185290ca8a0297a5ff09f19912cfa8e174ee439
Fix bug 1380229: lang file ok tag avoids untranslated skip

This allows untranslated strings with the {ok} tag
to override the same translated string from another
lang file in the set.

https://github.com/mozilla/bedrock/commit/511a29d037f3b9a9cbbc69f311b658af00d1e19a
Merge pull request #4967 from pmac/fix-non-translated-string-ok-tag

Fix bug 1380229: lang file ok tag avoids untranslated skip

Updated

a year ago
Status: NEW → RESOLVED
Last Resolved: a year ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.