User Agent: Mozilla/5.0 (Windows NT 6.1; rv:21.0) Gecko/20100101 Firefox/21.0 (Beta/Release) Build ID: 20130511120803 Steps to reproduce: 1. Open marketplace 2. Search for a paid app 3. Click to buy 4. Start the process to create and account Actual results: The persona PIN screen is in English (note: all of the PIN screens are in English, such as: wrong pin, confirmation pin, reset pin, forgot pin) Expected results: The interface during the PIN screens should be in Spanish
Please attach a screenshot. I'm not sure what the persona PIN screen is.
Note that this issue also occurs for polish
Spanish is working fine for me but I can confirm Polish translations are not working. I see that we have the localized strings so I am investigating further to see what could be happening
In addition to committing strings we also need .mo files. I compiled them all and committed. If that fixed it, yay, otherwise it's something else.
Created attachment 770352 [details] postfix-screenshot.png Thank Wil, looks like the compile fixed it: https://github.com/mozilla/webpay/commit/4cf7ac215e827c79fcf0680546d8d469b9bcea5a I'm attaching the fixed screen from dev using the Polish locale.
This is still reproducible for Spanish on Stage : http://screencast.com/t/ocSFFziS5DSd
Created attachment 770979 [details] spanish-screenshot-fix.png Can you post a video of reproducing the bug? When I start with a new flash, set the language to Spanish, open Marketplace Dev, set the region to Spain, log in, and begin a purchase I see Spanish localization. I attached a screenshot.
sorry, nevermind. You said on MP Stage and I can confirm. investigating...
spanish locales aren't working in prod either. Still searching for clues.
Added some logging, still can't dig anything up. On Monday I'll try to inspect the headers closer.
When I run this locally it works as expected but when run on production it returns 'en-us' >>> from webpay.base.middleware import LocaleMiddleware as LM >>> lm = LM() >>> lm.get_best_language('pl,en-us;q=0.7,en;q=0.3') 'pl' I'm digging in further...
all locales were completely broken in stage/prod due to how funfactory requires us to whitelist locales for prod! Fixed: https://github.com/mozilla/webpay/commit/2ed99c9c15e314be262fa0b757624adb16812800
this fix is currently on stage, on prod soon
Verified as fixed . We still have some translations issues for Polish(bug 891935) but this is another issue.