Closed Bug 668841 Opened 14 years ago Closed 14 years ago

add x-testing locale to product-details

Categories

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

Firefox 4
x86
macOS
defect
Not set
critical

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: groovecoder, Assigned: groovecoder)

References

Details

Attachments

(1 file)

Want to add x-testing locale so we can use pseudo-translations to spot un-localized strings and unicode errors
'x-testing' => array( 'English' => 'Testing', 'native' => 'Ŧḗşŧīƞɠ'),
Stas, does it work if we add this to product-details directly? I don't think the entire list is used anywhere anyway, all applications filter the list (or hand-pick from it), right? Luke: Do we have any tools to create these dummy translations?
Yup, I'm using: podebug --rewrite=unicode templates/LC_MESSAGES/messages.pot x_testing/LC_MESSAGES/messages.po http://translate.sourceforge.net/wiki/toolkit/podebug
(In reply to comment #2) > Stas, does it work if we add this to product-details directly? I don't think > the entire list is used anywhere anyway, all applications filter the list > (or hand-pick from it), right? I'm not sure. CC'ing Pascal.
You can safely add that to $languages in localeDetails.class.php but not in firefoxDetails.class.php, otherwise it will show up in pages like all.html
I don't have svn commit access. Here's my patch.
Attachment #543489 - Flags: review?(pascalc)
Attachment #543489 - Flags: review?(pascalc) → review+
Thanks, Pascal and Luke! I landed your patch in r91980 (incl. JSON file update). Luke, if you do ./manage.py update_product_details, it should show up.
Assignee: nobody → lcrouch
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Component: www.mozilla.org/firefox → www.mozilla.org
Component: www.mozilla.org → General
Product: Websites → www.mozilla.org
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: