def localized_text(self, basename, property_name): language_code = self.current_language_code() lt = i18n.get_property(self.resources_dir(), basename, language_code, property_name) self.logger.debug("Property '" + property_name + "' resolved to text '" + lt + "' in language '" + language_code + "'") return lt
def localized_text(self, basename, property_name): language_code = self.current_language_code() lt = i18n.get_property(self.resources_dir(), basename, language_code, property_name) self.logger.debug( "Property '{name}' resolved to text '{value}' in language '{lang}'" .format(name=property_name, value=lt, lang=language_code)) return lt
def localized_text(self, basename, property_name): language_code = self.current_language_code() lt = i18n.get_property(self.resources_dir(), basename, language_code, property_name) self.logger.debug("Property '"+property_name+"' resolved to text '"+lt+"' in language '"+language_code+"'") return lt
def localized_text(self, basename, property_name): language_code = self.current_language_code() lt = i18n.get_property(self.resources_dir(), basename, language_code, property_name) self.logger.debug("Property '{name}' resolved to text '{value}' in language '{lang}'" .format(name=property_name,value=lt,lang=language_code)) return lt