Closed ozten closed 12 years ago
Doing the following... I get the localized strings back
ssh into dev.diresworb
cd /home/browserid/code
node
fs = require('fs');
gt = require('node-gettext');
g = new gt();
g.addTextdomain('db_LB', fs.readFileSync('./locale/db_LB/LC_MESSAGES/messages.mo'));
g.textdomain('db_LB');
g.gettext('BrowserID is the fast and secure way to sign in — <a target="_blank" href="/about">learn more</a>');
outputs ' ԐɹoʍsǝɹIᗡ ıs ʇɥǝ ɟɐsʇ ɐup sǝɔnɹǝ ʍɐʎ ʇo sıƃu ıu — ʅǝɐɹu ɯoɹǝ</a<
Steps to Reproduce 1) Set Browser Locale to it-CH (db-LB trigger locale) 2) Go to http://dev.myfavoritebeer.org/ 3) Click Sign in
Actual: View Source: "BrowserID Home" as well as the footer "BrowserID is the fast and secure way to sign in — learn more" aren't translated, but the rest of the page is.
Expected: All user visible strings would be upside down.