3 replies [Last post]
fivepoints's picture
Offline
Getting busy with the Ubercode.
Joined: 09/26/2007
Juice: 258
Was this information Helpful?

hallo,
I'm developing a new payment module. I must use the currency format defined by ISO 4217 (http://en.wikipedia.org/wiki/ISO_4217_currency_code), so I just want to know if there is a place in Ubercart source code where I can find the list of the three letter codes defined by ISO 4217 or if I have to add this information directly into the module that I'm developing.

thanks
nicola

qrios's picture
Offline
Cool profile pic award.Getting busy with the Ubercode.Internationalizationizer
Joined: 08/13/2007
Juice: 554
Re: ISO 4217

Country codes can be imported by .cif files in :
/admin/store/settings/countries/edit

More info on country codes and .cif files:
http://www.ubercart.org/docs/developer/252/country_import_files

Discussion on this topic:
http://www.ubercart.org/forum/internationalization/205/countries_zones_c...

Kees

Ryan's picture
Offline
Joined: 08/07/2007
Juice: 15438
Re: ISO 4217

Further, if you need a comprehensive list I think there's a currency API module on Drupal.org. We took a function from that out of our store module as it was misplaced, so there is no place in core to validate ISO currency codes.

I think a more robust i18n system in Ubercart should accommodate this... I'll keep it in mind when I work on the roadmap for the future.

fivepoints's picture
Offline
Getting busy with the Ubercode.
Joined: 09/26/2007
Juice: 258
ok, thankyou! nicola

ok, thankyou!

nicola