code: function onSetLanguageCode() {
    var languageCode = $('#language-code').val() || null;
    try {
      auth.languageCode = languageCode;
      alertSuccess('Language code changed to "' + languageCode + '".');
    } catch (error) {
      alertError('Error: ' + error.code);
    }
  }
docs: Saves the new language code provided in the language code input field.