woothemes/woocommerce

View on GitHub
i18n/locale-info.php

Summary

Maintainability
A
3 hrs
Test Coverage
<?php
/**
 * Locales information
 *
 * @package WooCommerce\i18n
 * @version 3.5.0
 */

defined( 'ABSPATH' ) || exit;

return array(
    'AT' => array(
        'currency_code'  => 'EUR',
        'currency_pos'   => 'left',
        'thousand_sep'   => '.',
        'decimal_sep'    => ',',
        'num_decimals'   => 2,
        'weight_unit'    => 'kg',
        'dimension_unit' => 'cm',
    ),
    'AU' => array(
        'currency_code'  => 'AUD',
        'currency_pos'   => 'left',
        'thousand_sep'   => ',',
        'decimal_sep'    => '.',
        'num_decimals'   => 2,
        'weight_unit'    => 'kg',
        'dimension_unit' => 'cm',
    ),
    'BA' => array(
        'currency_code'  => 'BAM',
        'currency_pos'   => 'right_space',
        'thousand_sep'   => '.',
        'decimal_sep'    => ',',
        'num_decimals'   => 2,
        'weight_unit'    => 'kg',
        'dimension_unit' => 'cm',
    ),
    'BD' => array(
        'currency_code'  => 'BDT',
        'currency_pos'   => 'left',
        'thousand_sep'   => ',',
        'decimal_sep'    => '.',
        'num_decimals'   => 2,
        'weight_unit'    => 'kg',
        'dimension_unit' => 'in',
    ),
    'BE' => array(
        'currency_code'  => 'EUR',
        'currency_pos'   => 'left',
        'thousand_sep'   => ' ',
        'decimal_sep'    => ',',
        'num_decimals'   => 2,
        'weight_unit'    => 'kg',
        'dimension_unit' => 'cm',
    ),
    'BR' => array(
        'currency_code'  => 'BRL',
        'currency_pos'   => 'left',
        'thousand_sep'   => '.',
        'decimal_sep'    => ',',
        'num_decimals'   => 2,
        'weight_unit'    => 'kg',
        'dimension_unit' => 'cm',
    ),
    'CA' => array(
        'currency_code'  => 'CAD',
        'currency_pos'   => 'left',
        'thousand_sep'   => ',',
        'decimal_sep'    => '.',
        'num_decimals'   => 2,
        'weight_unit'    => 'kg',
        'dimension_unit' => 'cm',
    ),
    'CH' => array(
        'currency_code'  => 'CHF',
        'currency_pos'   => 'left_space',
        'thousand_sep'   => "'",
        'decimal_sep'    => '.',
        'num_decimals'   => 2,
        'weight_unit'    => 'kg',
        'dimension_unit' => 'cm',
    ),
    'DE' => array(
        'currency_code'  => 'EUR',
        'currency_pos'   => 'left',
        'thousand_sep'   => '.',
        'decimal_sep'    => ',',
        'num_decimals'   => 2,
        'weight_unit'    => 'kg',
        'dimension_unit' => 'cm',
    ),
    'DK' => array(
        'currency_code'  => 'DKK',
        'currency_pos'   => 'left_space',
        'thousand_sep'   => '.',
        'decimal_sep'    => ',',
        'num_decimals'   => 2,
        'weight_unit'    => 'kg',
        'dimension_unit' => 'cm',
    ),
    'ES' => array(
        'currency_code'  => 'EUR',
        'currency_pos'   => 'right',
        'thousand_sep'   => '.',
        'decimal_sep'    => ',',
        'num_decimals'   => 2,
        'weight_unit'    => 'kg',
        'dimension_unit' => 'cm',
    ),
    'FI' => array(
        'currency_code'  => 'EUR',
        'currency_pos'   => 'right_space',
        'thousand_sep'   => ' ',
        'decimal_sep'    => ',',
        'num_decimals'   => 2,
        'weight_unit'    => 'kg',
        'dimension_unit' => 'cm',
    ),
    'FR' => array(
        'currency_code'  => 'EUR',
        'currency_pos'   => 'right',
        'thousand_sep'   => ' ',
        'decimal_sep'    => ',',
        'num_decimals'   => 2,
        'weight_unit'    => 'kg',
        'dimension_unit' => 'cm',
    ),
    'GB' => array(
        'currency_code'  => 'GBP',
        'currency_pos'   => 'left',
        'thousand_sep'   => ',',
        'decimal_sep'    => '.',
        'num_decimals'   => 2,
        'weight_unit'    => 'kg',
        'dimension_unit' => 'cm',
    ),
    'HU' => array(
        'currency_code'  => 'HUF',
        'currency_pos'   => 'right_space',
        'thousand_sep'   => ' ',
        'decimal_sep'    => ',',
        'num_decimals'   => 0,
        'weight_unit'    => 'kg',
        'dimension_unit' => 'cm',
    ),
    'IT' => array(
        'currency_code'  => 'EUR',
        'currency_pos'   => 'right',
        'thousand_sep'   => '.',
        'decimal_sep'    => ',',
        'num_decimals'   => 2,
        'weight_unit'    => 'kg',
        'dimension_unit' => 'cm',
    ),
    'JM' => array(
        'currency_code'  => 'JMD',
        'currency_pos'   => 'left',
        'thousand_sep'   => ',',
        'decimal_sep'    => '.',
        'num_decimals'   => 2,
        'weight_unit'    => 'lbs',
        'dimension_unit' => 'in',
    ),
    'JP' => array(
        'currency_code'  => 'JPY',
        'currency_pos'   => 'left',
        'thousand_sep'   => ',',
        'decimal_sep'    => '.',
        'num_decimals'   => 0,
        'weight_unit'    => 'kg',
        'dimension_unit' => 'cm',
    ),
  'KE' => array(
        'currency_code'  => 'KES',
        'currency_pos'   => 'left',
        'thousand_sep'   => ',',
        'decimal_sep'    => '.',
        'num_decimals'   => 0,
        'weight_unit'    => 'kg',
        'dimension_unit' => 'cm',
    ),
    'KR' => array(
        'currency_code'  => 'KRW',
        'currency_pos'   => 'right',
        'thousand_sep'   => ',',
        'decimal_sep'    => '.',
        'num_decimals'   => 0,
        'weight_unit'    => 'kg',
        'dimension_unit' => 'cm',
    ),
    'LI' => array(
        'currency_code'  => 'CHF',
        'currency_pos'   => 'left_space',
        'thousand_sep'   => "'",
        'decimal_sep'    => '.',
        'num_decimals'   => 2,
        'weight_unit'    => 'kg',
        'dimension_unit' => 'cm',
    ),
    'MD' => array(
        'currency_code'  => 'MDL',
        'currency_pos'   => 'right_space',
        'thousand_sep'   => '.',
        'decimal_sep'    => ',',
        'num_decimals'   => 2,
        'weight_unit'    => 'kg',
        'dimension_unit' => 'cm',
    ),
    'NL' => array(
        'currency_code'  => 'EUR',
        'currency_pos'   => 'left',
        'thousand_sep'   => ',',
        'decimal_sep'    => '.',
        'num_decimals'   => 2,
        'weight_unit'    => 'kg',
        'dimension_unit' => 'cm',
    ),
    'NO' => array(
        'currency_code'  => 'Kr',
        'currency_pos'   => 'left_space',
        'thousand_sep'   => '.',
        'decimal_sep'    => ',',
        'num_decimals'   => 2,
        'weight_unit'    => 'kg',
        'dimension_unit' => 'cm',
    ),
    'NP' => array(
        'currency_code'  => 'NPR',
        'currency_pos'   => 'left_space',
        'thousand_sep'   => ',',
        'decimal_sep'    => '.',
        'num_decimals'   => 2,
        'weight_unit'    => 'kg',
        'dimension_unit' => 'cm',
    ),
    'PL' => array(
        'currency_code'  => 'PLN',
        'currency_pos'   => 'right_space',
        'thousand_sep'   => ' ',
        'decimal_sep'    => ',',
        'num_decimals'   => 2,
        'weight_unit'    => 'kg',
        'dimension_unit' => 'cm',
    ),
    'PY' => array(
        'currency_code'  => 'PYG',
        'currency_pos'   => 'left',
        'thousand_sep'   => '.',
        'decimal_sep'    => ',',
        'num_decimals'   => 2,
        'weight_unit'    => 'kg',
        'dimension_unit' => 'cm',
    ),
    'RO' => array(
        'currency_code'  => 'RON',
        'currency_pos'   => 'right_space',
        'thousand_sep'   => '.',
        'decimal_sep'    => ',',
        'num_decimals'   => 2,
        'weight_unit'    => 'kg',
        'dimension_unit' => 'cm',
    ),
    'RS' => array(
        'currency_code'  => 'RSD',
        'currency_pos'   => 'right_space',
        'thousand_sep'   => '.',
        'decimal_sep'    => ',',
        'num_decimals'   => 2,
        'weight_unit'    => 'kg',
        'dimension_unit' => 'cm',
        'tax_rates'      => array(),
    ),
    'TH' => array(
        'currency_code'  => 'THB',
        'currency_pos'   => 'left',
        'thousand_sep'   => ',',
        'decimal_sep'    => '.',
        'num_decimals'   => 2,
        'weight_unit'    => 'kg',
        'dimension_unit' => 'cm',
    ),
    'TR' => array(
        'currency_code'  => 'TRY',
        'currency_pos'   => 'left_space',
        'thousand_sep'   => '.',
        'decimal_sep'    => ',',
        'num_decimals'   => 2,
        'weight_unit'    => 'kg',
        'dimension_unit' => 'cm',
    ),
    'TZ' => array(
        'currency_code'  => 'TZS',
        'currency_pos'   => 'left',
        'thousand_sep'   => ',',
        'decimal_sep'    => '.',
        'num_decimals'   => 0,
        'weight_unit'    => 'kg',
        'dimension_unit' => 'cm',
    ),
    'UG' => array(
        'currency_code'  => 'UGX',
        'currency_pos'   => 'left',
        'thousand_sep'   => ',',
        'decimal_sep'    => '.',
        'num_decimals'   => 0,
        'weight_unit'    => 'kg',
        'dimension_unit' => 'cm',
    ),
    'US' => array(
        'currency_code'  => 'USD',
        'currency_pos'   => 'left',
        'thousand_sep'   => ',',
        'decimal_sep'    => '.',
        'num_decimals'   => 2,
        'weight_unit'    => 'oz',
        'dimension_unit' => 'in',
    ),
    'ZA' => array(
        'currency_code'  => 'ZAR',
        'currency_pos'   => 'left',
        'thousand_sep'   => ',',
        'decimal_sep'    => '.',
        'num_decimals'   => 2,
        'weight_unit'    => 'kg',
        'dimension_unit' => 'cm',
    ),
);