aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/commerceguys/intl/src/NumberFormat
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/commerceguys/intl/src/NumberFormat')
-rw-r--r--vendor/commerceguys/intl/src/NumberFormat/NumberFormat.php285
-rw-r--r--vendor/commerceguys/intl/src/NumberFormat/NumberFormatEntityInterface.php107
-rw-r--r--vendor/commerceguys/intl/src/NumberFormat/NumberFormatInterface.php106
-rw-r--r--vendor/commerceguys/intl/src/NumberFormat/NumberFormatRepository.php1280
-rw-r--r--vendor/commerceguys/intl/src/NumberFormat/NumberFormatRepositoryInterface.php9
5 files changed, 1372 insertions, 415 deletions
diff --git a/vendor/commerceguys/intl/src/NumberFormat/NumberFormat.php b/vendor/commerceguys/intl/src/NumberFormat/NumberFormat.php
index 077f6721f..156470eee 100644
--- a/vendor/commerceguys/intl/src/NumberFormat/NumberFormat.php
+++ b/vendor/commerceguys/intl/src/NumberFormat/NumberFormat.php
@@ -2,8 +2,22 @@
namespace CommerceGuys\Intl\NumberFormat;
-class NumberFormat implements NumberFormatEntityInterface
+/**
+ * Provides metadata for number formatting.
+ */
+final class NumberFormat
{
+ // Arabic-Indic digits.
+ const NUMBERING_SYSTEM_ARABIC = 'arab';
+ // Extended Arabic-Indic digits.
+ const NUMBERING_SYSTEM_ARABIC_EXTENDED = 'arabext';
+ // Bengali digits.
+ const NUMBERING_SYSTEM_BENGALI = 'beng';
+ // Devanagari digits.
+ const NUMBERING_SYSTEM_DEVANAGARI = 'deva';
+ // Latin digits
+ const NUMBERING_SYSTEM_LATIN = 'latn';
+
/**
* The locale (i.e. "en_US").
*
@@ -12,159 +26,230 @@ class NumberFormat implements NumberFormatEntityInterface
protected $locale;
/**
- * The numbering system.
+ * The number pattern used to format decimal numbers.
*
* @var string
*/
- protected $numberingSystem = [];
+ protected $decimalPattern;
/**
- * The decimal separator.
+ * The number pattern used to format percentages.
*
* @var string
*/
- protected $decimalSeparator = [];
+ protected $percentPattern;
/**
- * The grouping separator.
+ * The number pattern used to format currency amounts.
*
* @var string
*/
- protected $groupingSeparator = [];
+ protected $currencyPattern;
/**
- * The plus sign.
+ * The number pattern used to format accounting currency amounts.
*
* @var string
*/
- protected $plusSign = [];
+ protected $accountingCurrencyPattern;
/**
- * The number symbols.
+ * The numbering system.
*
* @var string
*/
- protected $minusSign = [];
+ protected $numberingSystem = self::NUMBERING_SYSTEM_LATIN;
/**
- * The percent sign.
+ * The decimal separator.
*
* @var string
*/
- protected $percentSign = [];
+ protected $decimalSeparator = '.';
/**
- * The number pattern used to format decimal numbers.
+ * The grouping separator.
*
* @var string
*/
- protected $decimalPattern;
+ protected $groupingSeparator = ',';
/**
- * The number pattern used to format percentages.
+ * The plus sign.
*
* @var string
*/
- protected $percentPattern;
+ protected $plusSign = '+';
/**
- * The number pattern used to format currency amounts.
+ * The number symbols.
*
* @var string
*/
- protected $currencyPattern;
+ protected $minusSign = '-';
/**
- * The number pattern used to format accounting currency amounts.
+ * The percent sign.
*
* @var string
*/
- protected $accountingCurrencyPattern;
+ protected $percentSign = '%';
/**
- * {@inheritdoc}
+ * Creates a new NumberFormat instance.
+ *
+ * @param array $definition The definition array.
*/
- public function getLocale()
+ public function __construct(array $definition)
{
- return $this->locale;
+ // Validate the presence of required properties.
+ $requiredProperties = [
+ 'locale', 'decimal_pattern', 'percent_pattern',
+ 'currency_pattern', 'accounting_currency_pattern',
+ ];
+ foreach ($requiredProperties as $requiredProperty) {
+ if (empty($definition[$requiredProperty])) {
+ throw new \InvalidArgumentException(sprintf('Missing required property "%s".', $requiredProperty));
+ }
+ }
+ // Validate the numbering system.
+ if (isset($definition['numbering_system'])) {
+ if (!in_array($definition['numbering_system'], ['arab', 'arabext', 'beng', 'deva', 'latn'])) {
+ throw new \InvalidArgumentException(sprintf('Invalid numbering system "%s".', $definition['numbering_system']));
+ }
+ }
+
+ $this->locale = $definition['locale'];
+ $this->decimalPattern = $definition['decimal_pattern'];
+ $this->percentPattern = $definition['percent_pattern'];
+ $this->currencyPattern = $definition['currency_pattern'];
+ $this->accountingCurrencyPattern = $definition['accounting_currency_pattern'];
+ if (isset($definition['numbering_system'])) {
+ $this->numberingSystem = $definition['numbering_system'];
+ }
+ if (isset($definition['decimal_separator'])) {
+ $this->decimalSeparator = $definition['decimal_separator'];
+ }
+ if (isset($definition['grouping_separator'])) {
+ $this->groupingSeparator = $definition['grouping_separator'];
+ }
+ if (isset($definition['plus_sign'])) {
+ $this->plusSign = $definition['plus_sign'];
+ }
+ if (isset($definition['minus_sign'])) {
+ $this->minusSign = $definition['minus_sign'];
+ }
+ if (isset($definition['percent_sign'])) {
+ $this->percentSign = $definition['percent_sign'];
+ }
}
/**
- * {@inheritdoc}
+ * Gets the locale.
+ *
+ * @return string
*/
- public function setLocale($locale)
+ public function getLocale()
{
- $this->locale = $locale;
-
- return $this;
+ return $this->locale;
}
/**
- * {@inheritdoc}
+ * Gets the number pattern used to format decimal numbers.
+ *
+ * @return string
+ *
+ * @see http://cldr.unicode.org/translation/number-patterns
*/
- public function getNumberingSystem()
+ public function getDecimalPattern()
{
- return $this->numberingSystem;
+ return $this->decimalPattern;
}
/**
- * {@inheritdoc}
+ * Gets the number pattern used to format percentages.
+ *
+ * @return string
+ *
+ * @see http://cldr.unicode.org/translation/number-patterns
*/
- public function setNumberingSystem($numberingSystem)
+ public function getPercentPattern()
{
- $this->numberingSystem = $numberingSystem;
+ return $this->percentPattern;
}
/**
- * {@inheritdoc}
+ * Gets the number pattern used to format currency amounts.
+ *
+ * @return string
+ *
+ * @see http://cldr.unicode.org/translation/number-patterns
*/
- public function getDecimalSeparator()
+ public function getCurrencyPattern()
{
- return $this->decimalSeparator;
+ return $this->currencyPattern;
}
/**
- * {@inheritdoc}
+ * Gets the number pattern used to format accounting currency amounts.
+ *
+ * Most commonly used when formatting amounts on invoices.
+ *
+ * @return string
+ *
+ * @see http://cldr.unicode.org/translation/number-patterns
*/
- public function setDecimalSeparator($decimalSeparator)
+ public function getAccountingCurrencyPattern()
{
- $this->decimalSeparator = $decimalSeparator;
+ return $this->accountingCurrencyPattern;
}
/**
- * {@inheritdoc}
+ * Gets the numbering system.
+ *
+ * The value is one of the NUMBERING_SYSTEM_ constants.
+ *
+ * @return string
*/
- public function getGroupingSeparator()
+ public function getNumberingSystem()
{
- return $this->groupingSeparator;
+ return $this->numberingSystem;
}
/**
- * {@inheritdoc}
+ * Gets the decimal separator.
+ *
+ * @return string
*/
- public function setGroupingSeparator($groupingSeparator)
+ public function getDecimalSeparator()
{
- $this->groupingSeparator = $groupingSeparator;
+ return $this->decimalSeparator;
}
/**
- * {@inheritdoc}
+ * Gets the grouping separator.
+ *
+ * @return string
*/
- public function getPlusSign()
+ public function getGroupingSeparator()
{
- return $this->plusSign;
+ return $this->groupingSeparator;
}
/**
- * {@inheritdoc}
+ * Gets the plus sign.
+ *
+ * @return string
*/
- public function setPlusSign($plusSign)
+ public function getPlusSign()
{
- $this->plusSign = $plusSign;
+ return $this->plusSign;
}
/**
- * {@inheritdoc}
+ * Gets the minus sign.
+ *
+ * @return string
*/
public function getMinusSign()
{
@@ -172,98 +257,12 @@ class NumberFormat implements NumberFormatEntityInterface
}
/**
- * {@inheritdoc}
- */
- public function setMinusSign($minusSign)
- {
- $this->minusSign = $minusSign;
- }
-
- /**
- * {@inheritdoc}
+ * Gets the percent sign.
+ *
+ * @return string
*/
public function getPercentSign()
{
return $this->percentSign;
}
-
- /**
- * {@inheritdoc}
- */
- public function setPercentSign($percentSign)
- {
- $this->percentSign = $percentSign;
- }
-
- /**
- * {@inheritdoc}
- */
- public function getDecimalPattern()
- {
- return $this->decimalPattern;
- }
-
- /**
- * {@inheritdoc}
- */
- public function setDecimalPattern($decimalPattern)
- {
- $this->decimalPattern = $decimalPattern;
-
- return $this;
- }
-
- /**
- * {@inheritdoc}
- */
- public function getPercentPattern()
- {
- return $this->percentPattern;
- }
-
- /**
- * {@inheritdoc}
- */
- public function setPercentPattern($percentPattern)
- {
- $this->percentPattern = $percentPattern;
-
- return $this;
- }
-
- /**
- * {@inheritdoc}
- */
- public function getCurrencyPattern()
- {
- return $this->currencyPattern;
- }
-
- /**
- * {@inheritdoc}
- */
- public function setCurrencyPattern($currencyPattern)
- {
- $this->currencyPattern = $currencyPattern;
-
- return $this;
- }
-
- /**
- * {@inheritdoc}
- */
- public function getAccountingCurrencyPattern()
- {
- return $this->accountingCurrencyPattern;
- }
-
- /**
- * {@inheritdoc}
- */
- public function setAccountingCurrencyPattern($accountingCurrencyPattern)
- {
- $this->accountingCurrencyPattern = $accountingCurrencyPattern;
-
- return $this;
- }
}
diff --git a/vendor/commerceguys/intl/src/NumberFormat/NumberFormatEntityInterface.php b/vendor/commerceguys/intl/src/NumberFormat/NumberFormatEntityInterface.php
deleted file mode 100644
index debafd6ba..000000000
--- a/vendor/commerceguys/intl/src/NumberFormat/NumberFormatEntityInterface.php
+++ /dev/null
@@ -1,107 +0,0 @@
-<?php
-
-namespace CommerceGuys\Intl\NumberFormat;
-
-interface NumberFormatEntityInterface extends NumberFormatInterface
-{
- /**
- * Sets the locale.
- *
- * @param string $locale The locale (i.e. "en_US").
- *
- * @return self
- */
- public function setLocale($locale);
-
- /**
- * Sets the numbering system.
- *
- * @param string $numberingSystem One of the NUMBERING_SYSTEM_ constants.
- *
- * @return self
- */
- public function setNumberingSystem($numberingSystem);
-
- /**
- * Sets the decimal separator.
- *
- * @param string $decimalSeparator
- *
- * @return self
- */
- public function setDecimalSeparator($decimalSeparator);
-
- /**
- * Sets the grouping separator.
- *
- * @param string $groupingSeparator
- *
- * @return self
- */
- public function setGroupingSeparator($groupingSeparator);
-
- /**
- * Sets the plus sign.
- *
- * @param string $plusSign
- *
- * @return self
- */
- public function setPlusSign($plusSign);
-
- /**
- * Sets the minus sign.
- *
- * @param string $minusSign
- *
- * @return self
- */
- public function setMinusSign($minusSign);
-
- /**
- * Sets the percent sign.
- *
- * @param string $percentSign
- *
- * @return self
- */
- public function setPercentSign($percentSign);
-
- /**
- * Sets the number pattern used to format decimal numbers.
- *
- * @param string $decimalPattern The decimal pattern.
- *
- * @return self
- */
- public function setDecimalPattern($decimalPattern);
-
- /**
- * Sets the number pattern used to format percentages.
- *
- * @param string $percentPattern The percent pattern.
- *
- * @return self
- */
- public function setPercentPattern($percentPattern);
-
- /**
- * Sets the number pattern used to format currency amounts.
- *
- * @param string $currencyPattern The currency pattern.
- *
- * @return self
- */
- public function setCurrencyPattern($currencyPattern);
-
- /**
- * Sets the number pattern used to format accounting currency amounts.
- *
- * Most commonly used when formatting amounts on invoices.
- *
- * @param string $accountingCurrencyPattern The accounting currency pattern.
- *
- * @return self
- */
- public function setAccountingCurrencyPattern($accountingCurrencyPattern);
-}
diff --git a/vendor/commerceguys/intl/src/NumberFormat/NumberFormatInterface.php b/vendor/commerceguys/intl/src/NumberFormat/NumberFormatInterface.php
deleted file mode 100644
index bb343f366..000000000
--- a/vendor/commerceguys/intl/src/NumberFormat/NumberFormatInterface.php
+++ /dev/null
@@ -1,106 +0,0 @@
-<?php
-
-namespace CommerceGuys\Intl\NumberFormat;
-
-interface NumberFormatInterface
-{
- // Arabic-Indic digits.
- const NUMBERING_SYSTEM_ARABIC = 'arab';
- // Extended Arabic-Indic digits.
- const NUMBERING_SYSTEM_ARABIC_EXTENDED = 'arabext';
- // Bengali digits.
- const NUMBERING_SYSTEM_BENGALI = 'beng';
- // Devanagari digits.
- const NUMBERING_SYSTEM_DEVANAGARI = 'deva';
- // Latin digits
- const NUMBERING_SYSTEM_LATIN = 'latn';
-
- /**
- * Gets the locale.
- *
- * @return string
- */
- public function getLocale();
-
- /**
- * Gets the numbering system.
- *
- * The value is one of the NUMBERING_SYSTEM_ constants.
- *
- * @return string
- */
- public function getNumberingSystem();
-
- /**
- * Gets the decimal separator.
- *
- * @return string
- */
- public function getDecimalSeparator();
-
- /**
- * Gets the grouping separator.
- *
- * @return string
- */
- public function getGroupingSeparator();
-
- /**
- * Gets the plus sign.
- *
- * @return string
- */
- public function getPlusSign();
-
- /**
- * Gets the minus sign.
- *
- * @return string
- */
- public function getMinusSign();
-
- /**
- * Gets the percent sign.
- *
- * @return string
- */
- public function getPercentSign();
-
- /**
- * Gets the number pattern used to format decimal numbers.
- *
- * @return string
- *
- * @see http://cldr.unicode.org/translation/number-patterns
- */
- public function getDecimalPattern();
-
- /**
- * Gets the number pattern used to format percentages.
- *
- * @return string
- *
- * @see http://cldr.unicode.org/translation/number-patterns
- */
- public function getPercentPattern();
-
- /**
- * Gets the number pattern used to format currency amounts.
- *
- * @return string
- *
- * @see http://cldr.unicode.org/translation/number-patterns
- */
- public function getCurrencyPattern();
-
- /**
- * Gets the number pattern used to format accounting currency amounts.
- *
- * Most commonly used when formatting amounts on invoices.
- *
- * @return string
- *
- * @see http://cldr.unicode.org/translation/number-patterns
- */
- public function getAccountingCurrencyPattern();
-}
diff --git a/vendor/commerceguys/intl/src/NumberFormat/NumberFormatRepository.php b/vendor/commerceguys/intl/src/NumberFormat/NumberFormatRepository.php
index 368eb7e2b..887bc43e0 100644
--- a/vendor/commerceguys/intl/src/NumberFormat/NumberFormatRepository.php
+++ b/vendor/commerceguys/intl/src/NumberFormat/NumberFormatRepository.php
@@ -2,90 +2,1262 @@
namespace CommerceGuys\Intl\NumberFormat;
-use CommerceGuys\Intl\LocaleResolverTrait;
+use CommerceGuys\Intl\Locale;
/**
- * Repository for number formats based on JSON definitions.
+ * Provides number formats.
*/
class NumberFormatRepository implements NumberFormatRepositoryInterface
{
- use LocaleResolverTrait;
-
/**
- * Number formats.
+ * The fallback locale.
*
- * @var array
+ * @var string
*/
- protected $numberFormats = [];
+ protected $fallbackLocale;
/**
* Creates a NumberFormatRepository instance.
*
- * @param string $definitionPath The path to the number format definitions.
- * Defaults to 'resources/number_format'.
+ * @param string $fallbackLocale The fallback locale. Defaults to 'en'.
*/
- public function __construct($definitionPath = null)
+ public function __construct($fallbackLocale = 'en')
{
- $this->definitionPath = $definitionPath ? $definitionPath : __DIR__ . '/../../resources/number_format/';
+ $this->fallbackLocale = $fallbackLocale;
}
/**
* {@inheritdoc}
*/
- public function get($locale, $fallbackLocale = null)
+ public function get($locale)
{
- $locale = $this->resolveLocale($locale, $fallbackLocale);
- if (!isset($this->numberFormats[$locale])) {
- $filename = $this->definitionPath . $locale . '.json';
- $definition = json_decode(file_get_contents($filename), true);
- $this->numberFormats[$locale] = $this->createNumberFormatFromDefinition($definition, $locale);
- }
+ $definitions = $this->getDefinitions();
+ $availableLocales = array_keys($definitions);
+ $locale = Locale::resolve($availableLocales, $locale, $this->fallbackLocale);
+ $definition = $this->processDefinition($locale, $definitions[$locale]);
- return $this->numberFormats[$locale];
+ return new NumberFormat($definition);
}
/**
- * Creates a number format object from the provided definition.
+ * Processes the number format definition for the provided locale.
*
- * @param array $definition The number format definition.
- * @param string $locale The locale of the number format definition.
+ * @param string $locale The locale.
+ * @param array $definition The definition
*
- * @return NumberFormat
+ * @return array The processed definition.
*/
- protected function createNumberFormatFromDefinition(array $definition, $locale)
+ protected function processDefinition($locale, array $definition)
{
- if (!isset($definition['decimal_separator'])) {
- $definition['decimal_separator'] = '.';
- }
- if (!isset($definition['grouping_separator'])) {
- $definition['grouping_separator'] = ',';
- }
- if (!isset($definition['plus_sign'])) {
- $definition['plus_sign'] = '+';
- }
- if (!isset($definition['minus_sign'])) {
- $definition['minus_sign'] = '-';
- }
- if (!isset($definition['percent_sign'])) {
- $definition['percent_sign'] = '%';
+ $definition['locale'] = $locale;
+ // The generation script strips all keys that have the same values
+ // as the ones in 'en'.
+ if ($definition['locale'] != 'en') {
+ $definitions = $this->getDefinitions();
+ $definition += $definitions['en'];
}
- $numberFormat = new NumberFormat();
- $setValues = \Closure::bind(function ($definition, $locale) {
- $this->locale = $locale;
- $this->numberingSystem = $definition['numbering_system'];
- $this->decimalSeparator = $definition['decimal_separator'];
- $this->groupingSeparator = $definition['grouping_separator'];
- $this->plusSign = $definition['plus_sign'];
- $this->minusSign = $definition['minus_sign'];
- $this->percentSign = $definition['percent_sign'];
- $this->decimalPattern = $definition['decimal_pattern'];
- $this->percentPattern = $definition['percent_pattern'];
- $this->currencyPattern = $definition['currency_pattern'];
- $this->accountingCurrencyPattern = $definition['accounting_currency_pattern'];
- }, $numberFormat, '\CommerceGuys\Intl\NumberFormat\NumberFormat');
- $setValues($definition, $locale);
+ return $definition;
+ }
- return $numberFormat;
+ /**
+ * Gets the number format definitions.
+ *
+ * @return array
+ * The number format definitions, keyed by locale.
+ */
+ protected function getDefinitions()
+ {
+ return [
+ 'af' => [
+ 'decimal_separator' => ',',
+ 'grouping_separator' => ' ',
+ ],
+ 'agq' => [
+ 'currency_pattern' => '#,##0.00¤',
+ 'accounting_currency_pattern' => '#,##0.00¤',
+ 'decimal_separator' => ',',
+ 'grouping_separator' => ' ',
+ ],
+ 'ak' => [
+ 'accounting_currency_pattern' => '¤#,##0.00',
+ ],
+ 'am' => [],
+ 'ar' => [
+ 'numbering_system' => 'arab',
+ 'currency_pattern' => '#,##0.00 ¤',
+ 'accounting_currency_pattern' => '#,##0.00 ¤',
+ 'decimal_separator' => '٫',
+ 'grouping_separator' => '٬',
+ 'plus_sign' => '؜+',
+ 'minus_sign' => '؜-',
+ 'percent_sign' => '٪؜',
+ ],
+ 'ar-DZ' => [
+ 'currency_pattern' => '¤ #,##0.00',
+ 'decimal_separator' => ',',
+ 'grouping_separator' => '.',
+ 'plus_sign' => '‎+',
+ 'minus_sign' => '‎-',
+ 'percent_sign' => '‎%‎',
+ ],
+ 'ar-EH' => [
+ 'currency_pattern' => '¤ #,##0.00',
+ 'plus_sign' => '‎+',
+ 'minus_sign' => '‎-',
+ 'percent_sign' => '‎%‎',
+ ],
+ 'ar-LY' => [
+ 'currency_pattern' => '¤ #,##0.00',
+ 'decimal_separator' => ',',
+ 'grouping_separator' => '.',
+ 'plus_sign' => '‎+',
+ 'minus_sign' => '‎-',
+ 'percent_sign' => '‎%‎',
+ ],
+ 'ar-MA' => [
+ 'currency_pattern' => '¤ #,##0.00',
+ 'decimal_separator' => ',',
+ 'grouping_separator' => '.',
+ 'plus_sign' => '‎+',
+ 'minus_sign' => '‎-',
+ 'percent_sign' => '‎%‎',
+ ],
+ 'ar-TN' => [
+ 'currency_pattern' => '¤ #,##0.00',
+ 'decimal_separator' => ',',
+ 'grouping_separator' => '.',
+ 'plus_sign' => '‎+',
+ 'minus_sign' => '‎-',
+ 'percent_sign' => '‎%‎',
+ ],
+ 'ast' => [
+ 'currency_pattern' => '#,##0.00 ¤',
+ 'accounting_currency_pattern' => '#,##0.00 ¤',
+ 'decimal_separator' => ',',
+ 'grouping_separator' => '.',
+ ],
+ 'az' => [
+ 'currency_pattern' => '#,##0.00 ¤',
+ 'accounting_currency_pattern' => '#,##0.00 ¤',
+ 'decimal_separator' => ',',
+ 'grouping_separator' => '.',
+ ],
+ 'az-Cyrl' => [
+ 'currency_pattern' => '#,##0.00 ¤',
+ 'accounting_currency_pattern' => '#,##0.00 ¤',
+ 'decimal_separator' => ',',
+ 'grouping_separator' => '.',
+ ],
+ 'bas' => [
+ 'percent_pattern' => '#,##0 %',
+ 'currency_pattern' => '#,##0.00 ¤',
+ 'accounting_currency_pattern' => '#,##0.00 ¤',
+ 'decimal_separator' => ',',
+ 'grouping_separator' => ' ',
+ ],
+ 'be' => [
+ 'percent_pattern' => '#,##0 %',
+ 'currency_pattern' => '#,##0.00 ¤',
+ 'accounting_currency_pattern' => '#,##0.00 ¤',
+ 'decimal_separator' => ',',
+ 'grouping_separator' => ' ',
+ ],
+ 'bez' => [
+ 'currency_pattern' => '#,##0.00¤',
+ 'accounting_currency_pattern' => '#,##0.00¤',
+ ],
+ 'bg' => [
+ 'currency_pattern' => '#0.00 ¤',
+ 'accounting_currency_pattern' => '#0.00 ¤;(#0.00 ¤)',
+ 'decimal_separator' => ',',
+ 'grouping_separator' => ' ',
+ ],
+ 'bm' => [],
+ 'bn' => [
+ 'numbering_system' => 'beng',
+ 'decimal_pattern' => '#,##,##0.###',
+ 'currency_pattern' => '#,##,##0.00¤',
+ 'accounting_currency_pattern' => '#,##,##0.00¤;(#,##,##0.00¤)',
+ ],
+ 'bo' => [
+ 'currency_pattern' => '¤ #,##0.00',
+ 'accounting_currency_pattern' => '¤ #,##0.00',
+ ],
+ 'br' => [
+ 'percent_pattern' => '#,##0 %',
+ 'currency_pattern' => '#,##0.00 ¤',
+ 'accounting_currency_pattern' => '#,##0.00 ¤',
+ 'decimal_separator' => ',',
+ 'grouping_separator' => ' ',
+ ],
+ 'brx' => [
+ 'decimal_pattern' => '#,##,##0.###',
+ 'percent_pattern' => '#,##,##0%',
+ 'currency_pattern' => '¤ #,##,##0.00',
+ 'accounting_currency_pattern' => '¤ #,##,##0.00',
+ ],
+ 'bs' => [
+ 'percent_pattern' => '#,##0 %',
+ 'currency_pattern' => '#,##0.00 ¤',
+ 'accounting_currency_pattern' => '#,##0.00 ¤',
+ 'decimal_separator' => ',',
+ 'grouping_separator' => '.',
+ ],
+ 'bs-Cyrl' => [
+ 'currency_pattern' => '#,##0.00 ¤',
+ 'accounting_currency_pattern' => '#,##0.00 ¤',
+ 'decimal_separator' => ',',
+ 'grouping_separator' => '.',
+ ],
+ 'ca' => [
+ 'currency_pattern' => '#,##0.00 ¤',
+ 'accounting_currency_pattern' => '#,##0.00 ¤;(#,##0.00 ¤)',
+ 'decimal_separator' => ',',
+ 'grouping_separator' => '.',
+ ],
+ 'ca-ES-VALENCIA' => [
+ 'currency_pattern' => '#,##0.00 ¤',
+ 'accounting_currency_pattern' => '#,##0.00 ¤;(#,##0.00 ¤)',
+ 'decimal_separator' => ',',
+ 'grouping_separator' => '.',
+ ],
+ 'ce' => [
+ 'percent_pattern' => '#,##0 %',
+ 'currency_pattern' => '#,##0.00 ¤',
+ 'accounting_currency_pattern' => '#,##0.00 ¤',
+ ],
+ 'ceb' => [
+ 'percent_pattern' => '#,#0%',
+ ],
+ 'cgg' => [
+ 'accounting_currency_pattern' => '¤#,##0.00',
+ ],
+ 'ckb' => [
+ 'numbering_system' => 'arab',
+ 'percent_pattern' => '#,##0 %',
+ 'currency_pattern' => '#,##0.00 ¤',
+ 'accounting_currency_pattern' => '#,##0.00 ¤',
+ 'decimal_separator' => '٫',
+ 'grouping_separator' => '٬',
+ 'plus_sign' => '‏+',
+ 'minus_sign' => '‏-',
+ 'percent_sign' => '٪',
+ ],
+ 'cs' => [
+ 'percent_pattern' => '#,##0 %',
+ 'currency_pattern' => '#,##0.00 ¤',
+ 'accounting_currency_pattern' => '#,##0.00 ¤',
+ 'decimal_separator' => ',',
+ 'grouping_separator' => ' ',
+ ],
+ 'cu' => [
+ 'currency_pattern' => '¤ #,##0.00',
+ 'accounting_currency_pattern' => '¤ #,##0.00',
+ ],
+ 'cy' => [],
+ 'da' => [
+ 'percent_pattern' => '#,##0 %',
+ 'currency_pattern' => '#,##0.00 ¤',
+ 'accounting_currency_pattern' => '#,##0.00 ¤',
+ 'decimal_separator' => ',',
+ 'grouping_separator' => '.',
+ ],
+ 'de' => [
+ 'percent_pattern' => '#,##0 %',
+ 'currency_pattern' => '#,##0.00 ¤',
+ 'accounting_currency_pattern' => '#,##0.00 ¤',
+ 'decimal_separator' => ',',
+ 'grouping_separator' => '.',
+ ],
+ 'de-AT' => [
+ 'percent_pattern' => '#,##0 %',
+ 'currency_pattern' => '¤ #,##0.00',
+ 'accounting_currency_pattern' => '#,##0.00 ¤',
+ 'decimal_separator' => ',',
+ 'grouping_separator' => ' ',
+ ],
+ 'de-CH' => [
+ 'currency_pattern' => '¤ #,##0.00;¤-#,##0.00',
+ 'accounting_currency_pattern' => '#,##0.00 ¤',
+ 'grouping_separator' => '’',
+ ],
+ 'de-LI' => [
+ 'currency_pattern' => '¤ #,##0.00',
+ 'accounting_currency_pattern' => '#,##0.00 ¤',
+ 'grouping_separator' => '’',
+ ],
+ 'dje' => [
+ 'currency_pattern' => '#,##0.00¤',
+ 'accounting_currency_pattern' => '#,##0.00¤',
+ 'grouping_separator' => ' ',
+ ],
+ 'dsb' => [
+ 'percent_pattern' => '#,##0 %',
+ 'currency_pattern' => '#,##0.00 ¤',
+ 'accounting_currency_pattern' => '#,##0.00 ¤',
+ 'decimal_separator' => ',',
+ 'grouping_separator' => '.',
+ ],
+ 'dyo' => [
+ 'currency_pattern' => '#,##0.00 ¤',
+ 'accounting_currency_pattern' => '#,##0.00 ¤',
+ 'decimal_separator' => ',',
+ 'grouping_separator' => ' ',
+ ],
+ 'dz' => [
+ 'decimal_pattern' => '#,##,##0.###',
+ 'percent_pattern' => '#,##,##0 %',
+ 'currency_pattern' => '¤#,##,##0.00',
+ 'accounting_currency_pattern' => '¤#,##,##0.00',
+ ],
+ 'ee' => [],
+ 'el' => [
+ 'currency_pattern' => '#,##0.00 ¤',
+ 'accounting_currency_pattern' => '#,##0.00 ¤',
+ 'decimal_separator' => ',',
+ 'grouping_separator' => '.',
+ ],
+ 'en' => [
+ 'numbering_system' => 'latn',
+ 'decimal_pattern' => '#,##0.###',
+ 'percent_pattern' => '#,##0%',
+ 'currency_pattern' => '¤#,##0.00',
+ 'accounting_currency_pattern' => '¤#,##0.00;(¤#,##0.00)',
+ ],
+ 'en-150' => [
+ 'currency_pattern' => '#,##0.00 ¤',
+ 'accounting_currency_pattern' => '#,##0.00 ¤',
+ ],
+ 'en-AT' => [
+ 'percent_pattern' => '#,##0 %',
+ 'currency_pattern' => '¤ #,##0.00',
+ 'accounting_currency_pattern' => '¤ #,##0.00',
+ 'decimal_separator' => ',',
+ 'grouping_separator' => '.',
+ ],
+ 'en-BE' => [
+ 'currency_pattern' => '#,##0.00 ¤',
+ 'accounting_currency_pattern' => '#,##0.00 ¤',
+ 'decimal_separator' => ',',
+ 'grouping_separator' => '.',
+ ],
+ 'en-CH' => [
+ 'currency_pattern' => '¤ #,##0.00;¤-#,##0.00',
+ 'accounting_currency_pattern' => '¤ #,##0.00;¤-#,##0.00',
+ 'grouping_separator' => '’',
+ ],
+ 'en-DE' => [
+ 'percent_pattern' => '#,##0 %',
+ 'currency_pattern' => '#,##0.00 ¤',
+ 'accounting_currency_pattern' => '#,##0.00 ¤',
+ 'decimal_separator' => ',',
+ 'grouping_separator' => '.',
+ ],
+ 'en-DK' => [
+ 'percent_pattern' => '#,##0 %',
+ 'currency_pattern' => '#,##0.00 ¤',
+ 'accounting_currency_pattern' => '#,##0.00 ¤',
+ 'decimal_separator' => ',',
+ 'grouping_separator' => '.',
+ ],
+ 'en-FI' => [
+ 'percent_pattern' => '#,##0 %',
+ 'currency_pattern' => '#,##0.00 ¤',
+ 'accounting_currency_pattern' => '#,##0.00 ¤',
+ 'decimal_separator' => ',',
+ 'grouping_separator' => ' ',
+ ],
+ 'en-IN' => [
+ 'decimal_pattern' => '#,##,##0.###',
+ 'percent_pattern' => '#,##,##0%',
+ 'currency_pattern' => '¤#,##,##0.00',
+ ],
+ 'en-NL' => [
+ 'currency_pattern' => '¤ #,##0.00;¤ -#,##0.00',
+ 'accounting_currency_pattern' => '¤ #,##0.00;(¤ #,##0.00)',
+ 'decimal_separator' => ',',
+ 'grouping_separator' => '.',
+ ],
+ 'en-SE' => [
+ 'percent_pattern' => '#,##0 %',
+ 'currency_pattern' => '#,##0.00 ¤',
+ 'accounting_currency_pattern' => '#,##0.00 ¤',
+ 'decimal_separator' => ',',
+ 'grouping_separator' => ' ',
+ ],
+ 'en-SI' => [
+ 'currency_pattern' => '#,##0.00 ¤',
+ 'accounting_currency_pattern' => '#,##0.00 ¤;(#,##0.00 ¤)',
+ 'decimal_separator' => ',',
+ 'grouping_separator' => '.',
+ ],
+ 'en-ZA' => [
+ 'decimal_separator' => ',',
+ 'grouping_separator' => ' ',
+ ],
+ 'eo' => [
+ 'currency_pattern' => '¤ #,##0.00',
+ 'accounting_currency_pattern' => '¤ #,##0.00',
+ 'decimal_separator' => ',',
+ 'grouping_separator' => ' ',
+ ],
+ 'es' => [
+ 'percent_pattern' => '#,##0 %',
+ 'currency_pattern' => '#,##0.00 ¤',
+ 'accounting_currency_pattern' => '#,##0.00 ¤',
+ 'decimal_separator' => ',',
+ 'grouping_separator' => '.',
+ ],
+ 'es-419' => [
+ 'percent_pattern' => '#,##0 %',
+ 'accounting_currency_pattern' => '¤#,##0.00',
+ ],
+ 'es-AR' => [
+ 'percent_pattern' => '#,##0 %',
+ 'currency_pattern' => '¤ #,##0.00',
+ 'accounting_currency_pattern' => '¤ #,##0.00;(¤ #,##0.00)',
+ 'decimal_separator' => ',',
+ 'grouping_separator' => '.',
+ ],
+ 'es-BO' => [
+ 'percent_pattern' => '#,##0 %',
+ 'accounting_currency_pattern' => '¤#,##0.00',
+ 'decimal_separator' => ',',
+ 'grouping_separator' => '.',
+ ],
+ 'es-CL' => [
+ 'percent_pattern' => '#,##0 %',
+ 'currency_pattern' => '¤#,##0.00;¤-#,##0.00',
+ 'accounting_currency_pattern' => '¤#,##0.00',
+ 'decimal_separator' => ',',
+ 'grouping_separator' => '.',
+ ],
+ 'es-CO' => [
+ 'percent_pattern' => '#,##0 %',
+ 'currency_pattern' => '¤ #,##0.00',
+ 'accounting_currency_pattern' => '¤#,##0.00',
+ 'decimal_separator' => ',',
+ 'grouping_separator' => '.',
+ ],
+ 'es-CR' => [
+ 'percent_pattern' => '#,##0 %',
+ 'accounting_currency_pattern' => '¤#,##0.00',
+ 'decimal_separator' => ',',
+ 'grouping_separator' => ' ',
+ ],
+ 'es-DO' => [
+ 'percent_pattern' => '#,##0 %',
+ ],
+ 'es-EC' => [
+ 'percent_pattern' => '#,##0 %',
+ 'currency_pattern' => '¤#,##0.00;¤-#,##0.00',
+ 'accounting_currency_pattern' => '¤#,##0.00',
+ 'decimal_separator' => ',',
+ 'grouping_separator' => '.',
+ ],
+ 'es-GQ' => [
+ 'percent_pattern' => '#,##0 %',
+ 'accounting_currency_pattern' => '#,##0.00 ¤',
+ 'decimal_separator' => ',',
+ 'grouping_separator' => '.',
+ ],
+ 'es-PE' => [
+ 'percent_pattern' => '#,##0 %',
+ 'currency_pattern' => '¤ #,##0.00',
+ 'accounting_currency_pattern' => '¤#,##0.00',
+ ],
+ 'es-PY' => [
+ 'percent_pattern' => '#,##0 %',
+ 'currency_pattern' => '¤ #,##0.00;¤ -#,##0.00',
+ 'accounting_currency_pattern' => '¤#,##0.00',
+ 'decimal_separator' => ',',
+ 'grouping_separator' => '.',
+ ],
+ 'es-UY' => [
+ 'percent_pattern' => '#,##0 %',
+ 'currency_pattern' => '¤ #,##0.00',
+ 'accounting_currency_pattern' => '¤ #,##0.00;(¤ #,##0.00)',
+ 'decimal_separator' => ',',
+ 'grouping_separator' => '.',
+ ],
+ 'es-VE' => [
+ 'percent_pattern' => '#,##0 %',
+ 'currency_pattern' => '¤#,##0.00;¤-#,##0.00',
+ 'accounting_currency_pattern' => '¤#,##0.00',
+ 'decimal_separator' => ',',
+ 'grouping_separator' => '.',
+ ],
+ 'et' => [
+ 'currency_pattern' => '#,##0.00 ¤',
+ 'accounting_currency_pattern' => '#,##0.00 ¤;(#,##0.00 ¤)',
+ 'decimal_separator' => ',',
+ 'grouping_separator' => ' ',
+ 'minus_sign' => '−',
+ ],
+ 'eu' => [
+ 'percent_pattern' => '% #,##0',
+ 'currency_pattern' => '#,##0.00 ¤',
+ 'accounting_currency_pattern' => '#,##0.00 ¤;(#,##0.00 ¤)',
+ 'decimal_separator' => ',',
+ 'grouping_separator' => '.',
+ 'minus_sign' => '−',
+ ],
+ 'fa' => [
+ 'numbering_system' => 'arabext',
+ 'currency_pattern' => '‎¤#,##0.00',
+ 'accounting_currency_pattern' => '‎¤ #,##0.00;‎(¤ #,##0.00)',
+ 'decimal_separator' => '٫',
+ 'grouping_separator' => '٬',
+ 'plus_sign' => '‎+',
+ 'minus_sign' => '‎−',
+ 'percent_sign' => '٪',
+ ],
+ 'fa-AF' => [
+ 'numbering_system' => 'arabext',
+ 'currency_pattern' => '¤ #,##0.00',
+ 'accounting_currency_pattern' => '¤ #,##0.00;‎(¤ #,##0.00)',
+ 'decimal_separator' => '٫',
+ 'grouping_separator' => '٬',
+ 'plus_sign' => '‎+',
+ 'minus_sign' => '‎−',
+ 'percent_sign' => '٪',
+ ],
+ 'ff' => [
+ 'currency_pattern' => '#,##0.00 ¤',
+ 'accounting_currency_pattern' => '#,##0.00 ¤',
+ 'decimal_separator' => ',',
+ 'grouping_separator' => ' ',
+ ],
+ 'fi' => [
+ 'percent_pattern' => '#,##0 %',
+ 'currency_pattern' => '#,##0.00 ¤',
+ 'accounting_currency_pattern' => '#,##0.00 ¤',
+ 'decimal_separator' => ',',
+ 'grouping_separator' => ' ',
+ 'minus_sign' => '−',
+ ],
+ 'fil' => [],
+ 'fo' => [
+ 'percent_pattern' => '#,##0 %',
+ 'currency_pattern' => '#,##0.00 ¤',
+ 'accounting_currency_pattern' => '#,##0.00 ¤;(#,##0.00 ¤)',
+ 'decimal_separator' => ',',
+ 'grouping_separator' => '.',
+ 'minus_sign' => '−',
+ ],
+ 'fr' => [
+ 'percent_pattern' => '#,##0 %',
+ 'currency_pattern' => '#,##0.00 ¤',
+ 'accounting_currency_pattern' => '#,##0.00 ¤;(#,##0.00 ¤)',
+ 'decimal_separator' => ',',
+ 'grouping_separator' => ' ',
+ ],
+ 'fr-CA' => [
+ 'percent_pattern' => '#,##0 %',
+ 'currency_pattern' => '#,##0.00 ¤',
+ 'accounting_currency_pattern' => '#,##0.00 ¤;(#,##0.00 ¤)',
+ 'decimal_separator' => ',',
+ 'grouping_separator' => ' ',
+ ],
+ 'fr-CH' => [
+ 'currency_pattern' => '#,##0.00 ¤',
+ 'accounting_currency_pattern' => '#,##0.00 ¤;(#,##0.00 ¤)',
+ 'decimal_separator' => ',',
+ 'grouping_separator' => ' ',
+ ],
+ 'fr-LU' => [
+ 'percent_pattern' => '#,##0 %',
+ 'currency_pattern' => '#,##0.00 ¤',
+ 'accounting_currency_pattern' => '#,##0.00 ¤;(#,##0.00 ¤)',
+ 'decimal_separator' => ',',
+ 'grouping_separator' => '.',
+ ],
+ 'fr-MA' => [
+ 'percent_pattern' => '#,##0 %',
+ 'currency_pattern' => '#,##0.00 ¤',
+ 'accounting_currency_pattern' => '#,##0.00 ¤;(#,##0.00 ¤)',
+ 'decimal_separator' => ',',
+ 'grouping_separator' => '.',
+ ],
+ 'fur' => [
+ 'currency_pattern' => '¤ #,##0.00',
+ 'accounting_currency_pattern' => '¤ #,##0.00',
+ 'decimal_separator' => ',',
+ 'grouping_separator' => '.',
+ ],
+ 'fy' => [
+ 'currency_pattern' => '¤ #,##0.00;¤ #,##0.00-',
+ 'accounting_currency_pattern' => '¤ #,##0.00;(¤ #,##0.00)',
+ 'decimal_separator' => ',',
+ 'grouping_separator' => '.',
+ ],
+ 'ga' => [],
+ 'gd' => [],
+ 'gl' => [
+ 'percent_pattern' => '#,##0 %',
+ 'currency_pattern' => '#,##0.00 ¤',
+ 'accounting_currency_pattern' => '#,##0.00 ¤',
+ 'decimal_separator' => ',',
+ 'grouping_separator' => '.',
+ ],
+ 'gsw' => [
+ 'percent_pattern' => '#,##0 %',
+ 'currency_pattern' => '#,##0.00 ¤',
+ 'accounting_currency_pattern' => '#,##0.00 ¤',
+ 'grouping_separator' => '’',
+ 'minus_sign' => '−',
+ ],
+ 'gu' => [
+ 'decimal_pattern' => '#,##,##0.###',
+ 'percent_pattern' => '#,##,##0%',
+ 'currency_pattern' => '¤#,##,##0.00',
+ 'accounting_currency_pattern' => '¤#,##,##0.00;(¤#,##,##0.00)',
+ ],
+ 'ha' => [
+ 'currency_pattern' => '¤ #,##0.00',
+ 'accounting_currency_pattern' => '¤ #,##0.00',
+ ],
+ 'haw' => [],
+ 'he' => [
+ 'currency_pattern' => '‏#,##0.00 ¤;‏-#,##0.00 ¤',
+ 'accounting_currency_pattern' => '#,##0.00 ¤',
+ 'plus_sign' => '‎+',
+ 'minus_sign' => '‎-',
+ ],
+ 'hi' => [
+ 'decimal_pattern' => '#,##,##0.###',
+ 'percent_pattern' => '#,##,##0%',
+ 'currency_pattern' => '¤#,##,##0.00',
+ 'accounting_currency_pattern' => '¤#,##,##0.00',
+ ],
+ 'hr' => [
+ 'percent_pattern' => '#,##0 %',
+ 'currency_pattern' => '#,##0.00 ¤',
+ 'accounting_currency_pattern' => '#,##0.00 ¤',
+ 'decimal_separator' => ',',
+ 'grouping_separator' => '.',
+ ],
+ 'hsb' => [
+ 'percent_pattern' => '#,##0 %',
+ 'currency_pattern' => '#,##0.00 ¤',
+ 'accounting_currency_pattern' => '#,##0.00 ¤',
+ 'decimal_separator' => ',',
+ 'grouping_separator' => '.',
+ ],
+ 'hu' => [
+ 'currency_pattern' => '#,##0.00 ¤',
+ 'accounting_currency_pattern' => '#,##0.00 ¤',
+ 'decimal_separator' => ',',
+ 'grouping_separator' => ' ',
+ ],
+ 'hy' => [
+ 'currency_pattern' => '#,##0.00 ¤',
+ 'accounting_currency_pattern' => '#,##0.00 ¤',
+ 'decimal_separator' => ',',
+ 'grouping_separator' => ' ',
+ ],
+ 'id' => [
+ 'accounting_currency_pattern' => '¤#,##0.00',
+ 'decimal_separator' => ',',
+ 'grouping_separator' => '.',
+ ],
+ 'ig' => [],
+ 'is' => [
+ 'currency_pattern' => '#,##0.00 ¤',
+ 'accounting_currency_pattern' => '#,##0.00 ¤',
+ 'decimal_separator' => ',',
+ 'grouping_separator' => '.',
+ ],
+ 'it' => [
+ 'currency_pattern' => '#,##0.00 ¤',
+ 'accounting_currency_pattern' => '#,##0.00 ¤',
+ 'decimal_separator' => ',',
+ 'grouping_separator' => '.',
+ ],
+ 'it-CH' => [
+ 'currency_pattern' => '¤ #,##0.00;¤-#,##0.00',
+ 'accounting_currency_pattern' => '#,##0.00 ¤',
+ 'grouping_separator' => '’',
+ ],
+ 'ja' => [],
+ 'jv' => [
+ 'currency_pattern' => '¤ #,##0.00',
+ 'accounting_currency_pattern' => '¤ #,##0.00',
+ 'decimal_separator' => ',',
+ 'grouping_separator' => '.',
+ ],
+ 'ka' => [
+ 'currency_pattern' => '#,##0.00 ¤',
+ 'accounting_currency_pattern' => '#,##0.00 ¤',
+ 'decimal_separator' => ',',
+ 'grouping_separator' => ' ',
+ ],
+ 'kab' => [
+ 'currency_pattern' => '#,##0.00¤',
+ 'accounting_currency_pattern' => '#,##0.00¤',
+ 'decimal_separator' => ',',
+ 'grouping_separator' => ' ',
+ ],
+ 'kea' => [
+ 'currency_pattern' => '#,##0.00 ¤',
+ 'accounting_currency_pattern' => '#,##0.00 ¤;(#,##0.00 ¤)',
+ 'decimal_separator' => ',',
+ 'grouping_separator' => ' ',
+ ],
+ 'khq' => [
+ 'currency_pattern' => '#,##0.00¤',
+ 'accounting_currency_pattern' => '#,##0.00¤',
+ 'grouping_separator' => ' ',
+ ],
+ 'kk' => [
+ 'currency_pattern' => '#,##0.00 ¤',
+ 'accounting_currency_pattern' => '#,##0.00 ¤',
+ 'decimal_separator' => ',',
+ 'grouping_separator' => ' ',
+ ],
+ 'km' => [
+ 'currency_pattern' => '#,##0.00¤',
+ 'accounting_currency_pattern' => '#,##0.00¤;(#,##0.00¤)',
+ 'decimal_separator' => ',',
+ 'grouping_separator' => '.',
+ ],
+ 'kn' => [],
+ 'ko' => [],
+ 'kok' => [
+ 'currency_pattern' => '¤ #,##0.00',
+ ],
+ 'ks' => [
+ 'numbering_system' => 'arabext',
+ 'decimal_pattern' => '#,##,##0.###',
+ 'percent_pattern' => '#,##,##0%',
+ 'currency_pattern' => '¤ #,##,##0.00',
+ 'accounting_currency_pattern' => '¤ #,##,##0.00',
+ 'decimal_separator' => '٫',
+ 'grouping_separator' => '٬',
+ 'plus_sign' => '‎+‎',
+ 'minus_sign' => '‎-‎',
+ 'percent_sign' => '٪',
+ ],
+ 'ksf' => [
+ 'currency_pattern' => '#,##0.00 ¤',
+ 'accounting_currency_pattern' => '#,##0.00 ¤',
+ 'decimal_separator' => ',',
+ 'grouping_separator' => ' ',
+ ],
+ 'ksh' => [
+ 'percent_pattern' => '#,##0 %',
+ 'currency_pattern' => '#,##0.00 ¤',
+ 'accounting_currency_pattern' => '#,##0.00 ¤',
+ 'decimal_separator' => ',',
+ 'grouping_separator' => ' ',
+ 'minus_sign' => '−',
+ ],
+ 'ku' => [
+ 'percent_pattern' => '%#,##0',
+ 'currency_pattern' => '#,##0.00 ¤',
+ 'accounting_currency_pattern' => '#,##0.00 ¤;(#,##0.00 ¤)',
+ 'decimal_separator' => ',',
+ 'grouping_separator' => '.',
+ ],
+ 'ky' => [
+ 'currency_pattern' => '#,##0.00 ¤',
+ 'accounting_currency_pattern' => '#,##0.00 ¤',
+ 'decimal_separator' => ',',
+ 'grouping_separator' => ' ',
+ ],
+ 'lb' => [
+ 'percent_pattern' => '#,##0 %',
+ 'currency_pattern' => '#,##0.00 ¤',
+ 'accounting_currency_pattern' => '#,##0.00 ¤',
+ 'decimal_separator' => ',',
+ 'grouping_separator' => '.',
+ ],
+ 'lg' => [
+ 'currency_pattern' => '#,##0.00¤',
+ 'accounting_currency_pattern' => '#,##0.00¤',
+ ],
+ 'lkt' => [
+ 'currency_pattern' => '¤ #,##0.00',
+ 'accounting_currency_pattern' => '¤ #,##0.00',
+ ],
+ 'lo' => [
+ 'currency_pattern' => '¤#,##0.00;¤-#,##0.00',
+ 'accounting_currency_pattern' => '¤#,##0.00;¤-#,##0.00',
+ 'decimal_separator' => ',',
+ 'grouping_separator' => '.',
+ ],
+ 'lrc' => [
+ 'numbering_system' => 'arabext',
+ 'currency_pattern' => '¤ #,##0.00',
+ 'accounting_currency_pattern' => '¤ #,##0.00',
+ 'decimal_separator' => '٫',
+ 'grouping_separator' => '٬',
+ 'plus_sign' => '‎+‎',
+ 'minus_sign' => '‎-‎',
+ 'percent_sign' => '٪',
+ ],
+ 'lt' => [
+ 'percent_pattern' => '#,##0 %',
+ 'currency_pattern' => '#,##0.00 ¤',
+ 'accounting_currency_pattern' => '#,##0.00 ¤',
+ 'decimal_separator' => ',',
+ 'grouping_separator' => ' ',
+ 'minus_sign' => '−',
+ ],
+ 'lu' => [
+ 'currency_pattern' => '#,##0.00¤',
+ 'accounting_currency_pattern' => '#,##0.00¤',
+ 'decimal_separator' => ',',
+ 'grouping_separator' => '.',
+ ],
+ 'luo' => [
+ 'currency_pattern' => '#,##0.00¤',
+ 'accounting_currency_pattern' => '#,##0.00¤',
+ ],
+ 'luy' => [
+ 'currency_pattern' => '¤#,##0.00;¤- #,##0.00',
+ 'accounting_currency_pattern' => '¤#,##0.00;¤- #,##0.00',
+ ],
+ 'lv' => [
+ 'currency_pattern' => '#,##0.00 ¤',
+ 'accounting_currency_pattern' => '#,##0.00 ¤',
+ 'decimal_separator' => ',',
+ 'grouping_separator' => ' ',
+ ],
+ 'mas' => [],
+ 'mfe' => [
+ 'currency_pattern' => '¤ #,##0.00',
+ 'accounting_currency_pattern' => '¤ #,##0.00',
+ 'grouping_separator' => ' ',
+ ],
+ 'mg' => [
+ 'currency_pattern' => '¤ #,##0.00',
+ 'accounting_currency_pattern' => '¤#,##0.00',
+ ],
+ 'mgh' => [
+ 'currency_pattern' => '¤ #,##0.00',
+ 'accounting_currency_pattern' => '¤ #,##0.00',
+ 'decimal_separator' => ',',
+ 'grouping_separator' => '.',
+ ],
+ 'mi' => [
+ 'currency_pattern' => '¤ #,##0.00',
+ 'accounting_currency_pattern' => '¤ #,##0.00',
+ ],
+ 'mk' => [
+ 'percent_pattern' => '#,##0 %',
+ 'currency_pattern' => '#,##0.00 ¤',
+ 'accounting_currency_pattern' => '#,##0.00 ¤',
+ 'decimal_separator' => ',',
+ 'grouping_separator' => '.',
+ ],
+ 'ml' => [
+ 'decimal_pattern' => '#,##,##0.###',
+ ],
+ 'mn' => [
+ 'currency_pattern' => '¤ #,##0.00',
+ 'accounting_currency_pattern' => '¤ #,##0.00',
+ ],
+ 'mr' => [
+ 'numbering_system' => 'deva',
+ 'decimal_pattern' => '#,##,##0.###',
+ ],
+ 'ms' => [],
+ 'ms-BN' => [
+ 'currency_pattern' => '¤ #,##0.00',
+ 'decimal_separator' => ',',
+ 'grouping_separator' => '.',
+ ],
+ 'mt' => [
+ 'accounting_currency_pattern' => '¤#,##0.00',
+ ],
+ 'mua' => [
+ 'decimal_separator' => ',',
+ 'grouping_separator' => '.',
+ ],
+ 'my' => [
+ 'currency_pattern' => '#,##0.00 ¤',
+ 'accounting_currency_pattern' => '¤ #,##0.00',
+ ],
+ 'mzn' => [
+ 'numbering_system' => 'arabext',
+ 'currency_pattern' => '¤ #,##0.00',
+ 'accounting_currency_pattern' => '¤ #,##0.00',
+ 'decimal_separator' => '٫',
+ 'grouping_separator' => '٬',
+ 'plus_sign' => '‎+‎',
+ 'minus_sign' => '‎-‎',
+ 'percent_sign' => '٪',
+ ],
+ 'naq' => [
+ 'accounting_currency_pattern' => '¤#,##0.00',
+ ],
+ 'nb' => [
+ 'percent_pattern' => '#,##0 %',
+ 'currency_pattern' => '¤ #,##0.00',
+ 'accounting_currency_pattern' => '¤ #,##0.00',
+ 'decimal_separator' => ',',
+ 'grouping_separator' => ' ',
+ 'minus_sign' => '−',
+ ],
+ 'nds' => [
+ 'currency_pattern' => '¤ #,##0.00',
+ 'accounting_currency_pattern' => '¤ #,##0.00',
+ ],
+ 'ne' => [
+ 'numbering_system' => 'deva',
+ 'currency_pattern' => '¤ #,##0.00',
+ 'accounting_currency_pattern' => '¤ #,##0.00',
+ ],
+ 'nl' => [
+ 'currency_pattern' => '¤ #,##0.00;¤ -#,##0.00',
+ 'accounting_currency_pattern' => '¤ #,##0.00;(¤ #,##0.00)',
+ 'decimal_separator' => ',',
+ 'grouping_separator' => '.',
+ ],
+ 'nn' => [
+ 'percent_pattern' => '#,##0 %',
+ 'currency_pattern' => '#,##0.00 ¤',
+ 'accounting_currency_pattern' => '#,##0.00 ¤',
+ 'decimal_separator' => ',',
+ 'grouping_separator' => ' ',
+ 'minus_sign' => '−',
+ ],
+ 'nyn' => [
+ 'accounting_currency_pattern' => '¤#,##0.00',
+ ],
+ 'om' => [
+ 'accounting_currency_pattern' => '¤#,##0.00',
+ ],
+ 'or' => [
+ 'decimal_pattern' => '#,##,##0.###',
+ ],
+ 'pa' => [
+ 'decimal_pattern' => '#,##,##0.###',
+ 'percent_pattern' => '#,##,##0%',
+ 'currency_pattern' => '¤ #,##,##0.00',
+ 'accounting_currency_pattern' => '¤ #,##0.00',
+ ],
+ 'pa-Arab' => [
+ 'numbering_system' => 'arabext',
+ 'currency_pattern' => '¤ #,##0.00',
+ 'accounting_currency_pattern' => '¤ #,##0.00',
+ 'decimal_separator' => '٫',
+ 'grouping_separator' => '٬',
+ 'plus_sign' => '‎+‎',
+ 'minus_sign' => '‎-‎',
+ 'percent_sign' => '٪',
+ ],
+ 'pl' => [
+ 'currency_pattern' => '#,##0.00 ¤',
+ 'accounting_currency_pattern' => '#,##0.00 ¤;(#,##0.00 ¤)',
+ 'decimal_separator' => ',',
+ 'grouping_separator' => ' ',
+ ],
+ 'prg' => [
+ 'currency_pattern' => '¤ #,##0.00',
+ 'accounting_currency_pattern' => '¤ #,##0.00',
+ ],
+ 'pt' => [
+ 'currency_pattern' => '¤ #,##0.00',
+ 'accounting_currency_pattern' => '¤ #,##0.00',
+ 'decimal_separator' => ',',
+ 'grouping_separator' => '.',
+ ],
+ 'pt-PT' => [
+ 'currency_pattern' => '#,##0.00 ¤',
+ 'accounting_currency_pattern' => '#,##0.00 ¤;(#,##0.00 ¤)',
+ 'decimal_separator' => ',',
+ 'grouping_separator' => ' ',
+ ],
+ 'qu' => [
+ 'percent_pattern' => '#,##0 %',
+ 'currency_pattern' => '¤ #,##0.00',
+ 'accounting_currency_pattern' => '¤ #,##0.00',
+ ],
+ 'qu-BO' => [
+ 'percent_pattern' => '#,##0 %',
+ 'currency_pattern' => '¤ #,##0.00',
+ 'accounting_currency_pattern' => '¤ #,##0.00',
+ 'decimal_separator' => ',',
+ 'grouping_separator' => '.',
+ ],
+ 'rm' => [
+ 'percent_pattern' => '#,##0 %',
+ 'currency_pattern' => '#,##0.00 ¤',
+ 'accounting_currency_pattern' => '#,##0.00 ¤',
+ 'grouping_separator' => '’',
+ 'minus_sign' => '−',
+ ],
+ 'rn' => [
+ 'percent_pattern' => '#,##0 %',
+ 'currency_pattern' => '#,##0.00¤',
+ 'accounting_currency_pattern' => '#,##0.00¤',
+ 'decimal_separator' => ',',
+ 'grouping_separator' => '.',
+ ],
+ 'ro' => [
+ 'percent_pattern' => '#,##0 %',
+ 'currency_pattern' => '#,##0.00 ¤',
+ 'accounting_currency_pattern' => '#,##0.00 ¤;(#,##0.00 ¤)',
+ 'decimal_separator' => ',',
+ 'grouping_separator' => '.',
+ ],
+ 'rof' => [
+ 'accounting_currency_pattern' => '¤#,##0.00',
+ ],
+ 'ru' => [
+ 'percent_pattern' => '#,##0 %',
+ 'currency_pattern' => '#,##0.00 ¤',
+ 'accounting_currency_pattern' => '#,##0.00 ¤',
+ 'decimal_separator' => ',',
+ 'grouping_separator' => ' ',
+ ],
+ 'rw' => [
+ 'currency_pattern' => '¤ #,##0.00',
+ 'accounting_currency_pattern' => '¤ #,##0.00',
+ 'decimal_separator' => ',',
+ 'grouping_separator' => '.',
+ ],
+ 'sd' => [
+ 'numbering_system' => 'arab',
+ 'currency_pattern' => '#,##0.00 ¤',
+ 'accounting_currency_pattern' => '#,##0.00 ¤',
+ 'decimal_separator' => '٫',
+ 'grouping_separator' => '٬',
+ 'plus_sign' => '؜+',
+ 'minus_sign' => '؜-',
+ 'percent_sign' => '٪؜',
+ ],
+ 'se' => [
+ 'percent_pattern' => '#,##0 %',
+ 'currency_pattern' => '#,##0.00 ¤',
+ 'accounting_currency_pattern' => '#,##0.00 ¤',
+ 'decimal_separator' => ',',
+ 'grouping_separator' => ' ',
+ 'minus_sign' => '−',
+ ],
+ 'seh' => [
+ 'currency_pattern' => '#,##0.00¤',
+ 'accounting_currency_pattern' => '#,##0.00¤',
+ 'decimal_separator' => ',',
+ 'grouping_separator' => '.',
+ ],
+ 'ses' => [
+ 'currency_pattern' => '#,##0.00¤',
+ 'accounting_currency_pattern' => '#,##0.00¤',
+ 'grouping_separator' => ' ',
+ ],
+ 'sg' => [
+ 'currency_pattern' => '¤#,##0.00;¤-#,##0.00',
+ 'accounting_currency_pattern' => '¤#,##0.00;¤-#,##0.00',
+ 'decimal_separator' => ',',
+ 'grouping_separator' => '.',
+ ],
+ 'si' => [],
+ 'sk' => [
+ 'percent_pattern' => '#,##0 %',
+ 'currency_pattern' => '#,##0.00 ¤',
+ 'accounting_currency_pattern' => '#,##0.00 ¤;(#,##0.00 ¤)',
+ 'decimal_separator' => ',',
+ 'grouping_separator' => ' ',
+ ],
+ 'sl' => [
+ 'percent_pattern' => '#,##0 %',
+ 'currency_pattern' => '#,##0.00 ¤',
+ 'accounting_currency_pattern' => '#,##0.00 ¤;(#,##0.00 ¤)',
+ 'decimal_separator' => ',',
+ 'grouping_separator' => '.',
+ 'minus_sign' => '−',
+ ],
+ 'smn' => [
+ 'percent_pattern' => '#,##0 %',
+ 'currency_pattern' => '#,##0.00 ¤',
+ 'accounting_currency_pattern' => '#,##0.00 ¤',
+ 'decimal_separator' => ',',
+ 'grouping_separator' => ' ',
+ ],
+ 'so' => [],
+ 'sq' => [
+ 'currency_pattern' => '#,##0.00 ¤',
+ 'accounting_currency_pattern' => '#,##0.00 ¤;(#,##0.00 ¤)',
+ 'decimal_separator' => ',',
+ 'grouping_separator' => ' ',
+ ],
+ 'sr' => [
+ 'currency_pattern' => '#,##0.00 ¤',
+ 'accounting_currency_pattern' => '#,##0.00 ¤;(#,##0.00 ¤)',
+ 'decimal_separator' => ',',
+ 'grouping_separator' => '.',
+ ],
+ 'sr-Latn' => [
+ 'currency_pattern' => '#,##0.00 ¤',
+ 'accounting_currency_pattern' => '#,##0.00 ¤;(#,##0.00 ¤)',
+ 'decimal_separator' => ',',
+ 'grouping_separator' => '.',
+ ],
+ 'sv' => [
+ 'percent_pattern' => '#,##0 %',
+ 'currency_pattern' => '#,##0.00 ¤',
+ 'accounting_currency_pattern' => '#,##0.00 ¤',
+ 'decimal_separator' => ',',
+ 'grouping_separator' => ' ',
+ 'minus_sign' => '−',
+ ],
+ 'sw' => [
+ 'currency_pattern' => '¤ #,##0.00',
+ 'accounting_currency_pattern' => '¤ #,##0.00',
+ ],
+ 'sw-CD' => [
+ 'currency_pattern' => '¤ #,##0.00',
+ 'accounting_currency_pattern' => '¤ #,##0.00',
+ 'decimal_separator' => ',',
+ 'grouping_separator' => '.',
+ ],
+ 'ta' => [
+ 'decimal_pattern' => '#,##,##0.###',
+ 'percent_pattern' => '#,##,##0%',
+ 'currency_pattern' => '¤ #,##,##0.00',
+ ],
+ 'ta-MY' => [
+ 'currency_pattern' => '¤ #,##0.00',
+ ],
+ 'ta-SG' => [
+ 'currency_pattern' => '¤ #,##0.00',
+ ],
+ 'te' => [
+ 'decimal_pattern' => '#,##,##0.###',
+ 'currency_pattern' => '¤#,##,##0.00',
+ ],
+ 'tg' => [
+ 'currency_pattern' => '#,##0.00 ¤',
+ 'accounting_currency_pattern' => '#,##0.00 ¤',
+ 'decimal_separator' => ',',
+ 'grouping_separator' => ' ',
+ ],
+ 'th' => [],
+ 'ti' => [
+ 'accounting_currency_pattern' => '¤#,##0.00',
+ ],
+ 'tk' => [
+ 'percent_pattern' => '#,##0 %',
+ 'currency_pattern' => '#,##0.00 ¤',
+ 'accounting_currency_pattern' => '#,##0.00 ¤',
+ 'decimal_separator' => ',',
+ 'grouping_separator' => ' ',
+ ],
+ 'to' => [
+ 'currency_pattern' => '¤ #,##0.00',
+ 'accounting_currency_pattern' => '¤ #,##0.00',
+ ],
+ 'tr' => [
+ 'percent_pattern' => '%#,##0',
+ 'decimal_separator' => ',',
+ 'grouping_separator' => '.',
+ ],
+ 'tt' => [
+ 'percent_pattern' => '#,##0 %',
+ 'currency_pattern' => '#,##0.00 ¤',
+ 'accounting_currency_pattern' => '#,##0.00 ¤',
+ 'decimal_separator' => ',',
+ 'grouping_separator' => ' ',
+ ],
+ 'twq' => [
+ 'currency_pattern' => '#,##0.00¤',
+ 'accounting_currency_pattern' => '#,##0.00¤',
+ 'grouping_separator' => ' ',
+ ],
+ 'tzm' => [
+ 'currency_pattern' => '#,##0.00 ¤',
+ 'accounting_currency_pattern' => '#,##0.00 ¤',
+ 'decimal_separator' => ',',
+ 'grouping_separator' => ' ',
+ ],
+ 'ug' => [],
+ 'uk' => [
+ 'currency_pattern' => '#,##0.00 ¤',
+ 'accounting_currency_pattern' => '#,##0.00 ¤',
+ 'decimal_separator' => ',',
+ 'grouping_separator' => ' ',
+ ],
+ 'ur' => [
+ 'currency_pattern' => '¤ #,##0.00',
+ 'plus_sign' => '‎+',
+ 'minus_sign' => '‎-',
+ ],
+ 'ur-IN' => [
+ 'numbering_system' => 'arabext',
+ 'currency_pattern' => '¤ #,##,##0.00',
+ 'decimal_separator' => '٫',
+ 'grouping_separator' => '٬',
+ 'plus_sign' => '‎+‎',
+ 'minus_sign' => '‎-‎',
+ ],
+ 'uz' => [
+ 'currency_pattern' => '#,##0.00 ¤',
+ 'accounting_currency_pattern' => '#,##0.00 ¤',
+ 'decimal_separator' => ',',
+ 'grouping_separator' => ' ',
+ ],
+ 'uz-Arab' => [
+ 'numbering_system' => 'arabext',
+ 'currency_pattern' => '¤ #,##0.00',
+ 'accounting_currency_pattern' => '¤ #,##0.00',
+ 'decimal_separator' => '٫',
+ 'grouping_separator' => '٬',
+ 'plus_sign' => '‎+‎',
+ 'minus_sign' => '‎-‎',
+ 'percent_sign' => '٪',
+ ],
+ 'uz-Cyrl' => [
+ 'currency_pattern' => '#,##0.00 ¤',
+ 'accounting_currency_pattern' => '#,##0.00 ¤',
+ 'decimal_separator' => ',',
+ 'grouping_separator' => ' ',
+ ],
+ 'vi' => [
+ 'currency_pattern' => '#,##0.00 ¤',
+ 'accounting_currency_pattern' => '#,##0.00 ¤',
+ 'decimal_separator' => ',',
+ 'grouping_separator' => '.',
+ ],
+ 'vo' => [
+ 'currency_pattern' => '¤ #,##0.00',
+ 'accounting_currency_pattern' => '¤ #,##0.00',
+ ],
+ 'wae' => [
+ 'currency_pattern' => '¤ #,##0.00',
+ 'accounting_currency_pattern' => '¤ #,##0.00',
+ 'decimal_separator' => ',',
+ 'grouping_separator' => '’',
+ ],
+ 'wo' => [
+ 'currency_pattern' => '¤ #,##0.00',
+ 'accounting_currency_pattern' => '¤ #,##0.00',
+ 'decimal_separator' => ',',
+ 'grouping_separator' => '.',
+ ],
+ 'xh' => [
+ 'accounting_currency_pattern' => '¤#,##0.00',
+ 'grouping_separator' => ' ',
+ ],
+ 'yav' => [
+ 'currency_pattern' => '#,##0.00 ¤',
+ 'accounting_currency_pattern' => '#,##0.00 ¤;(#,##0.00 ¤)',
+ 'decimal_separator' => ',',
+ 'grouping_separator' => ' ',
+ ],
+ 'yi' => [
+ 'currency_pattern' => '¤ #,##0.00',
+ 'accounting_currency_pattern' => '¤ #,##0.00',
+ ],
+ 'yo' => [],
+ 'yue' => [],
+ 'yue-Hans' => [],
+ 'zh' => [],
+ 'zh-Hant' => [],
+ 'zu' => [],
+ ];
}
}
diff --git a/vendor/commerceguys/intl/src/NumberFormat/NumberFormatRepositoryInterface.php b/vendor/commerceguys/intl/src/NumberFormat/NumberFormatRepositoryInterface.php
index ff162b522..b8f7facc4 100644
--- a/vendor/commerceguys/intl/src/NumberFormat/NumberFormatRepositoryInterface.php
+++ b/vendor/commerceguys/intl/src/NumberFormat/NumberFormatRepositoryInterface.php
@@ -8,12 +8,11 @@ namespace CommerceGuys\Intl\NumberFormat;
interface NumberFormatRepositoryInterface
{
/**
- * Returns a number format instance for the provided locale.
+ * Gets a number format for the provided locale.
*
- * @param string $locale The locale (i.e. fr-FR).
- * @param string $fallbackLocale A fallback locale (i.e "en").
+ * @param string $locale The locale (i.e. fr-FR).
*
- * @return NumberFormatInterface
+ * @return NumberFormat
*/
- public function get($locale, $fallbackLocale = null);
+ public function get($locale);
}