module ISOCodes::DataProvider
Extended Modules
Defined in:
iso_codes/data_provider.crConstant Summary
-
COUNTRY_TRANSLATION_CODES =
(Dir.glob("#{DATA_DEST}/#{TRANSLATIONS[:countries]}/*.po")).map do |path| Path[path].basename(".po") end
-
DATA_DEST =
"/srv/crystaldoc.info/github-mamantoha-iso_codes-v0.4.7/src/iso_codes/../../data"
-
JSON_CODES =
{:countries => "iso_3166-1.json", :languages => "iso_639-2.json"}
-
LANGUAGE_TRANSLATION_CODES =
(Dir.glob("#{DATA_DEST}/#{TRANSLATIONS[:languages]}/*.po")).map do |path| Path[path].basename(".po") end
-
TRANSLATIONS =
{:countries => "iso_3166-1/", :languages => "iso_639-2/"}