Displaying 1 result from an estimated 1 matches for "mlr_iso3166_code".
2005 Aug 10
24
Multilingual Rails v0.5. Big update!
....iconv_from(''iso-8859-1'')
puts mail.iconv_to(''euc-jp'') # Prints the mail using EUC-JP encoding
All configuration options can be set in your environment.rb now.
Multilingual Rails is no more hardcoded to use the numeric ISO 3166
codes for countries.
If you set MLR_ISO3166_CODE to "alpha2" or "alpha3" you can use those
codes instead.
Locale.country(752) #=> "Sweden" if MLR_ISO3166_CODE was set to
"numeric"
Locale.country(''se'') #=> "Sweden" if MLR_ISO3166_CODE was set to
"alpha2"
L...