diff options
Diffstat (limited to 'src/node/hooks')
-rw-r--r-- | src/node/hooks/i18n.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/node/hooks/i18n.js b/src/node/hooks/i18n.js index 6238f2cb..50946c42 100644 --- a/src/node/hooks/i18n.js +++ b/src/node/hooks/i18n.js @@ -5,7 +5,9 @@ var Globalize = require('globalize') var localesPath = __dirname+"/../../locales"; -var localeIndex = '[*]\r\n@import url(locales/en.ini)\r\n'; +// Serve English strings directly with /locales.ini +var localeIndex = fs.readFileSync(localesPath+'/en.ini')+'\r\n'; + exports.availableLangs = {en: 'English'}; fs.readdir(localesPath, function(er, files) { |