code: function(text){
  
      	var options, language, path;
  
  			language = hashedit.language;
  
        // translatable
        if(hashedit.canTranslate === true) {
  
      		// make sure library is installed
          if(i18n !== undefined) {
  
            if(hashedit.isI18nInit === false) {
  
              // get language path
              path = hashedit.languagePath;
              path = hashedit.replaceAll(path, '{{language}}', hashedit.language);
  
        			// set language
        			options = {
        		        lng: hashedit.language,
        		        getAsync : false,
        		        useCookie: false,
        		        useLocalStorage: false,
        		        fallbackLng: 'en',
        		        resGetPath: path,
        		        defaultLoadingValue: ''
        		    };
  
              // init
        			i18n.init(options);
  
        			// set flag
        			hashedit.isI18nInit = true;
      			}
      		}
  
    		}
  
    		return i18n.t(text);
    	}
docs: translates a text string