files = Rails.root.glob("node_modules/osm-community-index/i18n/*.yaml")
files.each do |file|
locale = File.basename(file, ".yaml")
files = Rails.root.glob("node_modules/osm-community-index/i18n/*.yaml")
files.each do |file|
locale = File.basename(file, ".yaml")
# rails wants language-COUNTRY but osm-community-index uses underscores
locale_rails = locale.tr("_", "-")
# rails wants language-COUNTRY but osm-community-index uses underscores
locale_rails = locale.tr("_", "-")