add x-testing locale to product-details

RESOLVED FIXED

Status

--
critical
RESOLVED FIXED
8 years ago
6 years ago

People

(Reporter: groovecoder, Assigned: groovecoder)

Tracking

Firefox 4
x86
Mac OS X

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Assignee)

Description

8 years ago
Want to add x-testing locale so we can use pseudo-translations to spot un-localized strings and unicode errors
(Assignee)

Comment 1

8 years ago
'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?
(Assignee)

Comment 3

8 years ago
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
(Assignee)

Comment 6

8 years ago
Created attachment 543489 [details] [diff] [review]
add x-testing locale for pseudo-translation testing

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
Last Resolved: 8 years ago
Resolution: --- → FIXED
Component: www.mozilla.org/firefox → www.mozilla.org
Product: Websites → Websites
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.