search for: localization_name

Displaying 1 result from an estimated 1 matches for "localization_name".

2010 Feb 16
7
YAML, UTF-8, TextMate, Notepad
...quot; loaded locales I18n.backend.send(:init_translations) AVAILABLE_LOCALES = I18n.backend.available_locales RAILS_DEFAULT_LOGGER.debug "* Loaded locales: #{AVAILABLE_LOCALES.inspect}" #Shnelvar: Remove UTF-8 indicator bytes so that YAML::load works AVAILABLE_LOCALES.each do |localization_name| # localization_name is, e.g. "de" localization_name_dot_yml = localization_name + ''.yml'' localization_file_name = File.join(''lib/locale'',localization_name_dot_yml) yaml_str = IO.read(localization_file_name) utf_8__3_byte_indicator...