You are here

function _amazon_default_locales in Amazon Product Advertisement API 6

Same name and namespace in other branches
  1. 7.2 amazon.module \_amazon_default_locales()
  2. 7 amazon.module \_amazon_default_locales()
1 call to _amazon_default_locales()
amazon_data_cache in ./amazon.module
Misc. helper functions for managing the wide array of Amazon data bitsies.

File

./amazon.module, line 741

Code

function _amazon_default_locales() {
  $locales = array();
  $locales['US'] = array(
    'url' => 'http://ecs.amazonaws.com/onca/xml',
    'name' => t('United States'),
  );
  $locales['UK'] = array(
    'url' => 'http://ecs.amazonaws.co.uk/onca/xml',
    'name' => t('United Kingdom'),
  );
  $locales['JP'] = array(
    'url' => 'http://ecs.amazonaws.jp/onca/xml',
    'name' => t('Japan'),
  );
  $locales['FR'] = array(
    'url' => 'http://ecs.amazonaws.fr/onca/xml',
    'name' => t('France'),
  );
  $locales['DE'] = array(
    'url' => 'http://ecs.amazonaws.de/onca/xml',
    'name' => t('Germany'),
  );
  $locales['CA'] = array(
    'url' => 'http://ecs.amazonaws.ca/onca/xml',
    'name' => t('Canada'),
  );
  $locales['CN'] = array(
    'url' => 'http://webservices.amazon.cn/onca/xml',
    'name' => t('China'),
  );
  $locales['IT'] = array(
    'url' => 'http://webservices.amazon.it/onca/xml',
    'name' => t('Italy'),
  );
  return $locales;
}