static getTruncatedLocale(locale) {
    return locale ? locale.substr(0, 2).toLowerCase() : undefined;
  }
Given a locale, get the 2 character one.
@param {String} locale Locale of the language.
@returns {String} Locale in 2 character length.