function translate(key, args) {
    return i18n.translateWithLocale(currentLocale, key, args);
}
Translates the key using the current global locale.

@param {!string} key to translate
@param {!Object.<string, string>} [args] arguments to substitute into the translated key
@returns {string} translated string