def install_translations(self): # translation self.get_language() k_translation.install(k_config.serverDir, self.accepted_languages, k_config.outputEncoding)
def install_translations(self): # translation self.get_language() k_translation.install(k_config.serverDir, self.accepted_languages,k_config.outputEncoding)
def loadTranslations(self, nameSpace, rep): # translation k_translation.install(rep,nameSpace.get("ACCEPTED_LANGUAGES",[]), k_config.outputEncoding)
def loadTranslations(self, nameSpace, rep): # translation k_translation.install(rep, nameSpace.get("ACCEPTED_LANGUAGES", []), k_config.outputEncoding)