docs: function (callback) {
              var debug = this.isDebug();
              if (debug != Aria.debug) {
                  // always usefull as a shortcut
                  Aria.debug = debug;
                  this.$raiseEvent("debugChanged");
              }
              if (aria.core.ResMgr) {
                  // the resource manager may not be already loaded
                  require("../ResMgr").changeLocale(this.getLanguage(), callback);
              } else {
                  this.$callback(callback);
              }
          }