Add kick-off code for client-side l10n

This commit is contained in:
Marcel Klehr 2012-12-16 18:52:39 +01:00
parent edacb3e2ca
commit 25be9b8c93
2 changed files with 21 additions and 0 deletions

View file

@ -804,6 +804,14 @@ window.html10n = (function(window, document, undefined) {
cb(null, build)
})
}
/**
* Returns the language that was last applied to the translations hash
* thus overriding most of the formerly applied langs
*/
html10n.getLanguage = function() {
this.language
}
/**
* Index all <link>s