# File lib/gettext/locale_path.rb, line 102 def current_path(lang) lang_candidates = lang.to_posix.candidates search_files = [] lang_candidates.each do |tag| path = @locale_paths[tag.to_s] warn "GetText::TextDomain#load_mo: mo-file is #{path}" if $DEBUG return path if path end if $DEBUG warn "MO file is not found in" @locale_paths.each do |path| warn " #{path[1]}" end end nil end