code: function (newCode) {
          if (newCode) {
            code = newCode;
            this.rtl = this.data[newCode] ? this.data[newCode]._dir === 'rtl' : false;
          }
        }
docs: Sets the current language code.
  
  @method setCode
  @param {String} newCode Current language code.