Browse Source

La lib intl

pull/3/head
RastaPopoulos 2 years ago
parent
commit
b9f2651c90
  1. 15
      composer.json
  2. 62
      composer.lock
  3. 7
      vendor/autoload.php
  4. 2
      vendor/commerceguys/intl/.gitignore
  5. 12
      vendor/commerceguys/intl/.travis.yml
  6. 21
      vendor/commerceguys/intl/LICENSE
  7. 115
      vendor/commerceguys/intl/README.md
  8. 33
      vendor/commerceguys/intl/composer.json
  9. 12
      vendor/commerceguys/intl/phpcs.xml
  10. 23
      vendor/commerceguys/intl/phpunit.xml
  11. 495
      vendor/commerceguys/intl/resources/currency/af.json
  12. 516
      vendor/commerceguys/intl/resources/currency/ar.json
  13. 496
      vendor/commerceguys/intl/resources/currency/as.json
  14. 497
      vendor/commerceguys/intl/resources/currency/ast.json
  15. 498
      vendor/commerceguys/intl/resources/currency/az.json
  16. 495
      vendor/commerceguys/intl/resources/currency/be.json
  17. 482
      vendor/commerceguys/intl/resources/currency/bg.json
  18. 498
      vendor/commerceguys/intl/resources/currency/bn.json
  19. 496
      vendor/commerceguys/intl/resources/currency/brx.json
  20. 501
      vendor/commerceguys/intl/resources/currency/bs-Cyrl.json
  21. 488
      vendor/commerceguys/intl/resources/currency/bs.json
  22. 491
      vendor/commerceguys/intl/resources/currency/ca.json
  23. 497
      vendor/commerceguys/intl/resources/currency/ce.json
  24. 494
      vendor/commerceguys/intl/resources/currency/cs.json
  25. 496
      vendor/commerceguys/intl/resources/currency/cy.json
  26. 498
      vendor/commerceguys/intl/resources/currency/da.json
  27. 496
      vendor/commerceguys/intl/resources/currency/de-CH.json
  28. 497
      vendor/commerceguys/intl/resources/currency/de.json
  29. 496
      vendor/commerceguys/intl/resources/currency/dz.json
  30. 497
      vendor/commerceguys/intl/resources/currency/el.json
  31. 496
      vendor/commerceguys/intl/resources/currency/en-001.json
  32. 479
      vendor/commerceguys/intl/resources/currency/en-AU.json
  33. 496
      vendor/commerceguys/intl/resources/currency/en-GG.json
  34. 496
      vendor/commerceguys/intl/resources/currency/en-IM.json
  35. 496
      vendor/commerceguys/intl/resources/currency/en-JE.json
  36. 496
      vendor/commerceguys/intl/resources/currency/en.json
  37. 477
      vendor/commerceguys/intl/resources/currency/es-419.json
  38. 479
      vendor/commerceguys/intl/resources/currency/es-CL.json
  39. 478
      vendor/commerceguys/intl/resources/currency/es-GT.json
  40. 479
      vendor/commerceguys/intl/resources/currency/es-MX.json
  41. 479
      vendor/commerceguys/intl/resources/currency/es-US.json
  42. 478
      vendor/commerceguys/intl/resources/currency/es-VE.json
  43. 482
      vendor/commerceguys/intl/resources/currency/es.json
  44. 497
      vendor/commerceguys/intl/resources/currency/et.json
  45. 497
      vendor/commerceguys/intl/resources/currency/eu.json
  46. 499
      vendor/commerceguys/intl/resources/currency/fa-AF.json
  47. 499
      vendor/commerceguys/intl/resources/currency/fa.json
  48. 482
      vendor/commerceguys/intl/resources/currency/fi.json
  49. 498
      vendor/commerceguys/intl/resources/currency/fil.json
  50. 487
      vendor/commerceguys/intl/resources/currency/fr-CA.json
  51. 508
      vendor/commerceguys/intl/resources/currency/fr.json
  52. 497
      vendor/commerceguys/intl/resources/currency/ga.json
  53. 497
      vendor/commerceguys/intl/resources/currency/gd.json
  54. 496
      vendor/commerceguys/intl/resources/currency/gl.json
  55. 496
      vendor/commerceguys/intl/resources/currency/gsw.json
  56. 497
      vendor/commerceguys/intl/resources/currency/gu.json
  57. 497
      vendor/commerceguys/intl/resources/currency/he.json
  58. 497
      vendor/commerceguys/intl/resources/currency/hi.json
  59. 478
      vendor/commerceguys/intl/resources/currency/hr.json
  60. 481
      vendor/commerceguys/intl/resources/currency/hu.json
  61. 498
      vendor/commerceguys/intl/resources/currency/hy.json
  62. 498
      vendor/commerceguys/intl/resources/currency/id.json
  63. 484
      vendor/commerceguys/intl/resources/currency/is.json
  64. 490
      vendor/commerceguys/intl/resources/currency/it.json
  65. 496
      vendor/commerceguys/intl/resources/currency/ja.json
  66. 488
      vendor/commerceguys/intl/resources/currency/ka.json
  67. 499
      vendor/commerceguys/intl/resources/currency/kk.json
  68. 498
      vendor/commerceguys/intl/resources/currency/km.json
  69. 496
      vendor/commerceguys/intl/resources/currency/ko.json
  70. 497
      vendor/commerceguys/intl/resources/currency/kok.json
  71. 496
      vendor/commerceguys/intl/resources/currency/ks.json
  72. 485
      vendor/commerceguys/intl/resources/currency/ky.json
  73. 497
      vendor/commerceguys/intl/resources/currency/lb.json
  74. 498
      vendor/commerceguys/intl/resources/currency/lo.json
  75. 477
      vendor/commerceguys/intl/resources/currency/lt.json
  76. 497
      vendor/commerceguys/intl/resources/currency/lv.json
  77. 497
      vendor/commerceguys/intl/resources/currency/mg.json
  78. 486
      vendor/commerceguys/intl/resources/currency/mk.json
  79. 497
      vendor/commerceguys/intl/resources/currency/ml.json
  80. 498
      vendor/commerceguys/intl/resources/currency/mn.json
  81. 497
      vendor/commerceguys/intl/resources/currency/mr.json
  82. 494
      vendor/commerceguys/intl/resources/currency/ms.json
  83. 503
      vendor/commerceguys/intl/resources/currency/my.json
  84. 480
      vendor/commerceguys/intl/resources/currency/nb.json
  85. 498
      vendor/commerceguys/intl/resources/currency/ne.json
  86. 498
      vendor/commerceguys/intl/resources/currency/nl.json
  87. 479
      vendor/commerceguys/intl/resources/currency/nn.json
  88. 497
      vendor/commerceguys/intl/resources/currency/pa.json
  89. 483
      vendor/commerceguys/intl/resources/currency/pl.json
  90. 497
      vendor/commerceguys/intl/resources/currency/ps.json
  91. 497
      vendor/commerceguys/intl/resources/currency/pt-PT.json
  92. 497
      vendor/commerceguys/intl/resources/currency/pt.json
  93. 497
      vendor/commerceguys/intl/resources/currency/rn.json
  94. 479
      vendor/commerceguys/intl/resources/currency/ro.json
  95. 500
      vendor/commerceguys/intl/resources/currency/ru.json
  96. 497
      vendor/commerceguys/intl/resources/currency/sd.json
  97. 498
      vendor/commerceguys/intl/resources/currency/si.json
  98. 483
      vendor/commerceguys/intl/resources/currency/sk.json
  99. 488
      vendor/commerceguys/intl/resources/currency/sl.json
  100. 498
      vendor/commerceguys/intl/resources/currency/so.json
  101. Some files were not shown because too many files have changed in this diff Show More

15
composer.json

@ -0,0 +1,15 @@
{
"name": "spip-contrib-extensions/intl",
"description": "Bibliothèque d’internationalisation",
"type": "library",
"require": {
"commerceguys/intl": "^1.0"
},
"license": "GPL",
"authors": [
{
"name": "Mukt",
"homepage": "https://www.mukt.fr"
}
]
}

62
composer.lock generated

@ -0,0 +1,62 @@
{
"_readme": [
"This file locks the dependencies of your project to a known state",
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
"This file is @generated automatically"
],
"content-hash": "849e0c2a329d46bd4f764bf810684fd2",
"packages": [
{
"name": "commerceguys/intl",
"version": "v1.0.7",
"source": {
"type": "git",
"url": "https://github.com/commerceguys/intl.git",
"reference": "0bf0beb12e37ef1a61e0d09dc66cdaa1a23e62e1"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/commerceguys/intl/zipball/0bf0beb12e37ef1a61e0d09dc66cdaa1a23e62e1",
"reference": "0bf0beb12e37ef1a61e0d09dc66cdaa1a23e62e1",
"shasum": ""
},
"require": {
"php": ">=7.0.8"
},
"require-dev": {
"mikey179/vfsstream": "1.*",
"phpunit/phpunit": "^6.0"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "1.x-dev"
}
},
"autoload": {
"psr-4": {
"CommerceGuys\\Intl\\": "src"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Bojan Zivanovic"
}
],
"description": "Internationalization library powered by CLDR data.",
"time": "2020-10-04T20:58:22+00:00"
}
],
"packages-dev": [],
"aliases": [],
"minimum-stability": "stable",
"stability-flags": [],
"prefer-stable": false,
"prefer-lowest": false,
"platform": [],
"platform-dev": []
}

7
vendor/autoload.php vendored

@ -0,0 +1,7 @@
<?php
// autoload.php @generated by Composer
require_once __DIR__ . '/composer/autoload_real.php';
return ComposerAutoloaderInitf863cfe4923a4a1678c7920cb3a3b2bc::getLoader();

2
vendor/commerceguys/intl/.gitignore vendored

@ -0,0 +1,2 @@
composer.lock
vendor/*

12
vendor/commerceguys/intl/.travis.yml vendored

@ -0,0 +1,12 @@
language: php
php:
- 7.4
- 7.3
- 7.2
- 7.1
- 7.0
install:
- composer self-update
- composer install

21
vendor/commerceguys/intl/LICENSE vendored

@ -0,0 +1,21 @@
The MIT License (MIT)
Copyright (c) 2014-2019 Bojan Zivanovic and contributors
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

115
vendor/commerceguys/intl/README.md vendored

@ -0,0 +1,115 @@
intl
=====
[![Build Status](https://travis-ci.org/commerceguys/intl.svg?branch=master)](https://travis-ci.org/commerceguys/intl)
A PHP 7.0+ internationalization library, powered by CLDR data.
Features:
- NumberFormatter and CurrencyFormatter, inspired by [intl](http://php.net/manual/en/class.numberformatter.php).
- Currencies
- Languages
Looking for a list of countries and subdivisions? Check out [commerceguys/addressing](https://github.com/commerceguys/addressing).
Why not use the intl extension?
-------------------------------
The intl extension isn't present by default on PHP installs, requiring
it can hurt software adoption.
Behind the scenes the extension relies on libicu which includes the CLDR dataset,
but depending on the OS/distribution used, could be several major CLDR releases behind.
Since the CLDR dataset is freely available in JSON form, it is possible to
reimplement the intl functionality in pure PHP code while ensuring that the
dataset is always fresh.
Having access to the CLDR dataset also makes it possible to offer additional APIs,
such as listing all currencies.
More backstory can be found in [this blog post](https://drupalcommerce.org/blog/15916/commerce-2x-stories-internationalization).
Formatting numbers
------------------
Allows formatting numbers (decimals, percents, currency amounts) using locale-specific rules.
Two formatters are provided for this purpose: [NumberFormatter](https://github.com/commerceguys/intl/blob/master/src/Formatter/NumberFormatterInterface.php) and [CurrencyFormatter](https://github.com/commerceguys/intl/blob/master/src/Formatter/CurrencyFormatterInterface.php).
```php
use CommerceGuys\Intl\Currency\CurrencyRepository;
use CommerceGuys\Intl\NumberFormat\NumberFormatRepository;
use CommerceGuys\Intl\Formatter\NumberFormatter;
use CommerceGuys\Intl\Formatter\CurrencyFormatter;
$numberFormatRepository = new NumberFormatRepository;
// Options can be provided to the constructor or the
// individual methods, the locale defaults to 'en' when missing.
$numberFormatter = new NumberFormatter($numberFormatRepository);
echo $numberFormatter->format('1234.99'); // 1,234.99
echo $numberFormatter->format('0.75', ['style' => 'percent']); // 75%
$currencyRepository = new CurrencyRepository;
$currencyFormatter = new CurrencyFormatter($numberFormatRepository, $currencyRepository);
echo $currencyFormatter->format('2.99', 'USD'); // $2.99
// The accounting style shows negative numbers differently and is used
// primarily for amounts shown on invoices.
echo $currencyFormatter->format('-2.99', 'USD', ['style' => 'accounting']); // (2.99$)
// Arabic, Arabic extended, Bengali, Devanagari digits are supported as expected.
$currencyFormatter = new CurrencyFormatter($numberFormatRepository, $currencyRepository, ['locale' => 'ar']);
echo $currencyFormatter->format('1230.99', 'USD'); // US$ ١٬٢٣٠٫٩٩
// Parse formatted values into numeric values.
echo $currencyFormatter->parse('US$ ١٬٢٣٠٫٩٩', 'USD'); // 1230.99
```
Currencies
----------
```php
use CommerceGuys\Intl\Currency\CurrencyRepository;
// Reads the currency definitions from resources/currency.
$currencyRepository = new CurrencyRepository;
// Get the USD currency using the default locale (en).
$currency = $currencyRepository->get('USD');
echo $currency->getCurrencyCode(); // USD
echo $currency->getNumericCode(); // 840
echo $currency->getFractionDigits(); // 2
echo $currency->getName(); // US Dollar
echo $currency->getSymbol(); // $
echo $currency->getLocale(); // en
// Get the USD currency using the fr-FR locale.
$currency = $currencyRepository->get('USD', 'fr-FR');
echo $currency->getName(); // dollar des États-Unis
echo $currency->getSymbol(); // $US
echo $currency->getLocale(); // fr-FR
// Get all currencies, keyed by currency code.
$allCurrencies = $currencyRepository->getAll();
```
Languages
---------
```php
use CommerceGuys\Intl\Language\LanguageRepository;
// Reads the language definitions from resources/language.
$languageRepository = new LanguageRepository;
// Get the german language using the default locale (en).
$language = $languageRepository->get('de');
echo $language->getLanguageCode(); // de
echo $language->getName(); // German
// Get the german language using the fr-FR locale.
$language = $languageRepository->get('de', 'fr-FR');
echo $language->getName(); // allemand
// Get all languages, keyed by language code.
$allLanguages = $languageRepository->getAll();
```
Related projects
----------------
[Laravel integration](https://github.com/Propaganistas/Laravel-Intl/)

33
vendor/commerceguys/intl/composer.json vendored

@ -0,0 +1,33 @@
{
"name": "commerceguys/intl",
"type": "library",
"description": "Internationalization library powered by CLDR data.",
"license": "MIT",
"require": {
"php": ">=7.0.8"
},
"require-dev": {
"phpunit/phpunit": "^6.0",
"mikey179/vfsstream": "1.*"
},
"autoload": {
"psr-4": {
"CommerceGuys\\Intl\\": "src"
}
},
"autoload-dev": {
"psr-4": {
"CommerceGuys\\Intl\\Tests\\": "tests"
}
},
"authors": [
{
"name": "Bojan Zivanovic"
}
],
"extra": {
"branch-alias": {
"dev-master": "1.x-dev"
}
}
}

12
vendor/commerceguys/intl/phpcs.xml vendored

@ -0,0 +1,12 @@
<?xml version="1.0"?>
<ruleset name="Modfied PSR2">
<description>PSR2 excluding line length</description>
<rule ref="PSR2"/>
<!-- The following rules should be kept excluded -->
<rule ref="Generic.Files.LineLength.TooLong">
<severity>0</severity>
</rule>
</ruleset>

23
vendor/commerceguys/intl/phpunit.xml vendored

@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="false"
backupStaticAttributes="false"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
stopOnFailure="false"
bootstrap="vendor/autoload.php"
>
<testsuites>
<testsuite name="CommerceGuys Intl Test Suite">
<directory>./tests/</directory>
</testsuite>
</testsuites>
<filter>
<whitelist>
<directory suffix=".php">./src/</directory>
</whitelist>
</filter>
</phpunit>

495
vendor/commerceguys/intl/resources/currency/af.json vendored

@ -0,0 +1,495 @@
{
"AFN": {
"name": "Afgaanse afgani"
},
"ALL": {
"name": "Albanese lek"
},
"DZD": {
"name": "Algeriese dinar"
},
"AOA": {
"name": "Angolese kwanza"
},
"ARS": {
"name": "Argentynse peso"
},
"AMD": {
"name": "Armeense dram"
},
"AWG": {
"name": "Arubaanse floryn"
},
"AUD": {
"name": "Australiese dollar",
"symbol": "A$"
},
"AZN": {
"name": "Azerbeidjaanse manat"
},
"BSD": {
"name": "Bahamiaanse dollar"
},
"BHD": {
"name": "Bahreinse dinar"
},
"BDT": {
"name": "Bangladesjiese taka"
},
"BBD": {
"name": "Barbados-dollar"
},
"BYN": {
"name": "Belarusiese roebel"
},
"BZD": {
"name": "Beliziese dollar"
},
"BMD": {
"name": "Bermuda-dollar"
},
"BTN": {
"name": "Bhoetanese ngoeltroem"
},
"BOB": {
"name": "Boliviaanse boliviano"
},
"BAM": {
"name": "Bosnies-Herzegowiniese omskakelbare marka"
},
"BWP": {
"name": "Botswana-pula"
},
"BRL": {
"name": "Brasilliaanse reaal",
"symbol": "R$"
},
"GBP": {
"name": "Britse pond",
"symbol": "£"
},
"BND": {
"name": "Broeneise dollar"
},
"BGN": {
"name": "Bulgaarse lev"
},
"BIF": {
"name": "Burundiese frank"
},
"KYD": {
"name": "Cayman-eilandse dollar"
},
"XPF": {
"name": "CFP-frank",
"symbol": "CFPF"
},
"CLP": {
"name": "Chileense peso"
},
"CNY": {
"name": "Chinese joean",
"symbol": "CN¥"
},
"COP": {
"name": "Colombiaanse peso"
},
"KMF": {
"name": "Comoraanse frank"
},
"CRC": {
"name": "Costa Ricaanse colón"
},
"DKK": {
"name": "Deense kroon"
},
"DJF": {
"name": "Djiboeti-frank"
},
"DOP": {
"name": "Dominikaanse peso"
},
"EGP": {
"name": "Egiptiese pond"
},
"ERN": {
"name": "Eritrese nakfa"
},
"ETB": {
"name": "Etiopiese birr"
},
"EUR": {
"name": "euro",
"symbol": "€"
},
"FKP": {
"name": "Falkland-eilandse pond"
},
"FJD": {
"name": "Fidjiaanse dollar"
},
"PHP": {
"name": "Filippynse peso"
},
"GMD": {
"name": "Gambiese dalasi"
},
"GEL": {
"name": "Georgiese lari"
},
"GHS": {
"name": "Ghanese cedi"
},
"GIP": {
"name": "Gibraltarese pond"
},
"GTQ": {
"name": "Guatemalaanse quetzal"
},
"GNF": {
"name": "Guinese frank"
},
"GYD": {
"name": "Guyanese dollar"
},
"HTG": {
"name": "Haïtiaanse gourde"
},
"HNL": {
"name": "Hondurese lempira"
},
"HUF": {
"name": "Hongaarse florint"
},
"HKD": {
"name": "Hongkongse dollar",
"symbol": "HK$"
},
"INR": {
"name": "Indiese roepee",
"symbol": "₹"
},
"IDR": {
"name": "Indonesiese roepia"
},
"IQD": {
"name": "Irakse dinar"
},
"IRR": {
"name": "Iranse rial"
},
"ILS": {
"name": "Israeliese nuwe sikkel",
"symbol": "₪"
},
"JMD": {
"name": "Jamaikaanse dollar"
},
"JPY": {
"name": "Japannese jen",
"symbol": "JP¥"
},
"YER": {
"name": "Jemenitiese rial"
},
"JOD": {
"name": "Jordaniese dinar"
},
"CVE": {
"name": "Kaap Verdiese escudo"
},
"KHR": {
"name": "Kambodjaanse riel"
},
"CAD": {
"name": "Kanadese dollar"
},
"QAR": {
"name": "Katarrese rial"
},
"KZT": {
"name": "Kazakse tenge"
},
"KES": {
"name": "Keniaanse sjieling"
},
"KGS": {
"name": "Kirgisiese som"
},
"KWD": {
"name": "Koeweitse dinar"
},
"CDF": {
"name": "Kongolese frank"
},
"HRK": {
"name": "Kroatiese kuna"
},
"CUC": {
"name": "Kubaanse omskakelbare peso"
},
"CUP": {
"name": "Kubaanse peso"
},
"LAK": {
"name": "Laosiaanse kip"
},
"LSL": {
"name": "Lesotho loti"
},
"LBP": {
"name": "Libanese pond"
},
"LRD": {
"name": "Liberiese dollar"
},
"LYD": {
"name": "Libiese dinar"
},
"MOP": {
"name": "Macaose pataca"
},
"MKD": {
"name": "Macedoniese denar"
},
"MWK": {
"name": "Malawiese kwacha"
},
"MVR": {
"name": "Malediviese rufia"
},
"MYR": {
"name": "Maleisiese ringgit"
},
"MGA": {
"name": "Malgassiese ariary"
},
"MAD": {
"name": "Marokkaanse dirham"
},
"MRU": {
"name": "Mauritaniese ouguiya"
},
"MUR": {
"name": "Mauritiaanse roepee"
},
"MXN": {
"name": "Meksikaanse peso"
},
"MMK": {
"name": "Mianmese kyat"
},
"MDL": {
"name": "Moldowiese leu"
},
"MNT": {
"name": "Mongoolse toegrik"
},
"MZN": {
"name": "Mosambiekse metical"
},
"NAD": {
"name": "Namibiese dollar"
},
"ANG": {
"name": "Nederlands-Antilliaanse gulde"
},
"NPR": {
"name": "Nepalese roepee"
},
"NIO": {
"name": "Nicaraguaanse córdoba"
},
"NZD": {
"name": "Nieu-Seelandse dollar",
"symbol": "NZ$"
},
"NGN": {
"name": "Nigeriese naira"
},
"KPW": {
"name": "Noord-Koreaanse won"
},
"NOK": {
"name": "Noorse kroon"
},
"TWD": {
"name": "Nuwe Taiwanese dollar",
"symbol": "NT$"
},
"UAH": {
"name": "Oekraïnse hriwna"
},
"UZS": {
"name": "Oezbekiese som"
},
"OMR": {
"name": "Omaanse rial"
},
"XCD": {
"name": "Oos-Karibiese dollar",
"symbol": "EC$"
},
"PKR": {
"name": "Pakistanse roepee"
},
"PAB": {
"name": "Panamese balboa"
},
"PGK": {
"name": "Papoea-Nieu-Guinese kina"
},
"PYG": {
"name": "Paraguaanse guarani"
},
"PEN": {
"name": "Peruaanse sol"
},
"PLN": {
"name": "Poolse zloty"
},
"RON": {
"name": "Roemeense leu"
},
"RUB": {
"name": "Russiese roebel"
},
"RWF": {
"name": "Rwandese frank"
},
"SBD": {
"name": "Salomonseilandse dollar"
},
"SVC": {
"name": "Salvadoran Colón"
},
"WST": {
"name": "Samoaanse tala"
},
"STN": {
"name": "São Tomé en Príncipe-dobra"
},
"SAR": {
"name": "Saoedi-Arabiese riyal"
},
"XAF": {
"name": "Sentraal Afrikaanse CFA-frank",
"symbol": "FCFA"
},
"RSD": {
"name": "Serwiese dinar"
},
"SCR": {
"name": "Seychellese roepee"
},
"SLL": {
"name": "Sierra Leoniese leone"
},
"SGD": {
"name": "Singapoer-dollar"
},
"SHP": {
"name": "Sint Helena-pond"
},
"SYP": {
"name": "Siriese pond"
},
"SDG": {
"name": "Soedannese pond"
},
"SOS": {
"name": "Somaliese sjieling"
},
"LKR": {
"name": "Sri Lankaanse roepee"
},
"ZAR": {
"name": "Suid-Afrikaanse rand",
"symbol": "R"
},
"KRW": {
"name": "Suid-Koreaanse won",
"symbol": "₩"
},
"SSP": {
"name": "Suid-Soedanese pond"
},
"SRD": {
"name": "Surinaamse dollar"
},
"SZL": {
"name": "Swazilandse lilangeni"
},
"SEK": {
"name": "Sweedse kroon"
},
"CHF": {
"name": "Switserse frank"
},
"TJS": {
"name": "Tadjikse somoni"
},
"TZS": {
"name": "Tanzaniese sjieling"
},
"THB": {
"name": "Thaise baht",
"symbol": "฿"
},
"TOP": {
"name": "Tongaanse pa’anga"
},
"TTD": {
"name": "Trinidad en Tobago-dollar"
},
"CZK": {
"name": "Tsjeggiese kroon"
},
"TND": {
"name": "Tunisiese dinar"
},
"TMT": {
"name": "Turkmeense manat"
},
"TRY": {
"name": "Turkse lira"
},
"UGX": {
"name": "Ugandese sjieling"
},
"UYU": {
"name": "Uruguaanse peso"
},
"UYW": {
"name": "Uruguayan Nominal Wage Index Unit"
},
"VUV": {
"name": "Vanuatuse vatu"
},
"VES": {
"name": "Venezolaanse bolívar"
},
"AED": {
"name": "Verenigde Arabiese Emirate-dirham"
},
"VND": {
"name": "Viëtnamese dong",
"symbol": "₫"
},
"USD": {
"name": "VSA-dollar"
},
"XOF": {
"name": "Wes-Afrikaanse CFA-frank",
"symbol": "CFA"
},
"ISK": {
"name": "Yslandse kroon"
},
"ZMW": {
"name": "Zambiese kwacha"
},
"ZWL": {
"name": "Zimbabwean Dollar (2009)"
}
}

516
vendor/commerceguys/intl/resources/currency/ar.json vendored

@ -0,0 +1,516 @@
{
"MGA": {
"name": "أرياري مدغشقر"
},
"CVE": {
"name": "اسكودو الرأس الأخضر"
},
"AFN": {
"name": "أفغاني"
},
"MRU": {
"name": "أوقية موريتانية",
"symbol": "أ.م."
},
"MOP": {
"name": "باتاكا ماكاوي"
},
"THB": {
"name": "باخت تايلاندي",
"symbol": "฿"
},
"PAB": {
"name": "بالبوا بنمي"
},
"TOP": {
"name": "بانغا تونغا"
},
"BWP": {
"name": "بولا بتسواني"
},
"VES": {
"name": "بوليفار فنزويلي"
},
"BOB": {
"name": "بوليفيانو بوليفي"
},
"ETB": {
"name": "بير أثيوبي"
},
"ARS": {
"name": "بيزو أرجنتيني"
},
"DOP": {
"name": "بيزو الدومنيكان"
},
"UYU": {
"name": "بيزو اوروغواي"
},
"CLP": {
"name": "بيزو تشيلي"
},
"PHP": {
"name": "بيزو فلبيني"
},
"CUP": {
"name": "بيزو كوبي"
},
"CUC": {
"name": "بيزو كوبي قابل للتحويل"
},
"COP": {
"name": "بيزو كولومبي"
},
"MXN": {
"name": "بيزو مكسيكي",
"symbol": "MX$"
},
"BDT": {
"name": "تاكا بنغلاديشي"
},
"WST": {
"name": "تالا ساموا"
},
"MNT": {
"name": "توغروغ منغولي"
},
"KZT": {
"name": "تينغ كازاخستاني"
},
"GBP": {
"name": "جنيه إسترليني",
"symbol": "UK£"
},
"GIP": {
"name": "جنيه جبل طارق"
},
"FKP": {
"name": "جنيه جزر فوكلاند"
},
"SSP": {
"name": "جنيه جنوب السودان"
},
"SHP": {
"name": "جنيه سانت هيلين"
},
"SDG": {
"name": "جنيه سوداني",
"symbol": "ج.س."
},
"LBP": {
"name": "جنيه لبناني",
"symbol": "ل.ل."
},
"EGP": {
"name": "جنيه مصري",
"symbol": "ج.م."
},
"HTG": {
"name": "جوردى هايتي"
},
"AMD": {
"name": "درام أرميني"
},
"AED": {
"name": "درهم إماراتي",
"symbol": "د.إ."
},
"MAD": {
"name": "درهم مغربي",
"symbol": "د.م."
},
"GMD": {
"name": "دلاسي غامبي"
},
"STN": {
"name": "دوبرا ساو تومي وبرينسيبي"
},
"AUD": {
"name": "دولار أسترالي",
"symbol": "AU$"
},
"USD": {
"name": "دولار أمريكي",
"symbol": "US$"
},
"BSD": {
"name": "دولار باهامي"
},
"BBD": {
"name": "دولار بربادوسي"
},
"BMD": {
"name": "دولار برمودي"
},
"BND": {
"name": "دولار بروناي"
},
"BZD": {
"name": "دولار بليزي"
},
"TWD": {
"name": "دولار تايواني",
"symbol": "NT$"
},
"TTD": {
"name": "دولار ترينداد وتوباغو"
},
"JMD": {
"name": "دولار جامايكي"
},
"SBD": {
"name": "دولار جزر سليمان"
},
"KYD": {
"name": "دولار جزر كيمن"
},
"ZWL": {
"name": "دولار زمبابوي 2009"
},
"SGD": {
"name": "دولار سنغافوري"
},
"SRD": {
"name": "دولار سورينامي"
},
"XCD": {
"name": "دولار شرق الكاريبي",
"symbol": "EC$"
},
"GYD": {
"name": "دولار غيانا"
},
"FJD": {
"name": "دولار فيجي"
},
"CAD": {
"name": "دولار كندي",
"symbol": "CA$"
},
"LRD": {
"name": "دولار ليبيري"
},
"NAD": {
"name": "دولار ناميبي"
},
"NZD": {
"name": "دولار نيوزيلندي",
"symbol": "NZ$"
},
"HKD": {
"name": "دولار هونغ كونغ",
"symbol": "HK$"
},
"VND": {
"name": "دونج فيتنامي",
"symbol": "₫"
},
"JOD": {
"name": "دينار أردني",
"symbol": "د.أ."
},
"BHD": {
"name": "دينار بحريني",
"symbol": "د.ب."
},
"TND": {
"name": "دينار تونسي",
"symbol": "د.ت."
},
"DZD": {
"name": "دينار جزائري",
"symbol": "د.ج."
},
"RSD": {
"name": "دينار صربي"
},
"IQD": {
"name": "دينار عراقي",
"symbol": "د.ع."
},
"KWD": {
"name": "دينار كويتي",
"symbol": "د.ك."
},
"LYD": {
"name": "دينار ليبي",
"symbol": "د.ل."
},
"MKD": {
"name": "دينار مقدوني"
},
"ZAR": {
"name": "راند جنوب أفريقيا"
},
"BYN": {
"name": "روبل بيلاروسي"
},
"RUB": {
"name": "روبل روسي"
},
"IDR": {
"name": "روبية إندونيسية"
},
"PKR": {
"name": "روبية باكستاني"
},
"LKR": {
"name": "روبية سريلانكية"
},
"SCR": {
"name": "روبية سيشيلية"
},
"MUR": {
"name": "روبية موريشيوسية"
},
"NPR": {
"name": "روبية نيبالي"
},
"INR": {
"name": "روبية هندي",
"symbol": "₹"
},
"MVR": {
"name": "روفيه جزر المالديف"
},
"IRR": {
"name": "ريال إيراني",
"symbol": "ر.إ."
},
"BRL": {
"name": "ريال برازيلي",
"symbol": "R$"
},
"SAR": {
"name": "ريال سعودي",
"symbol": "ر.س."
},
"OMR": {
"name": "ريال عماني",
"symbol": "ر.ع."
},
"QAR": {
"name": "ريال قطري",
"symbol": "ر.ق."
},
"YER": {
"name": "ريال يمني",
"symbol": "ر.ي."
},
"MYR": {
"name": "رينغيت ماليزي"
},
"KHR": {
"name": "رييال كمبودي"
},
"PLN": {
"name": "زلوتي بولندي"
},
"PEN": {
"name": "سول بيروفي"
},
"UZS": {
"name": "سوم أوزبكستاني"
},
"KGS": {
"name": "سوم قيرغستاني"
},
"TJS": {
"name": "سوموني طاجيكستاني"
},
"GHS": {
"name": "سيدي غانا"
},
"UGX": {
"name": "شلن أوغندي"
},
"TZS": {
"name": "شلن تنزاني"
},
"SOS": {
"name": "شلن صومالي"
},
"KES": {
"name": "شلن كينيي"
},
"ILS": {
"name": "شيكل إسرائيلي جديد",
"symbol": "₪"
},
"PYG": {
"name": "غواراني باراغواي"
},
"ANG": {
"name": "غيلدر أنتيلي هولندي"
},
"VUV": {
"name": "فاتو فانواتو"
},
"BIF": {
"name": "فرنك بروندي"
},
"KMF": {
"name": "فرنك جزر القمر"
},
"DJF": {
"name": "فرنك جيبوتي"
},
"RWF": {
"name": "فرنك رواندي"
},
"CHF": {
"name": "فرنك سويسري"
},
"XPF": {
"name": "فرنك سي إف بي",
"symbol": "CFPF"
},
"XOF": {
"name": "فرنك غرب أفريقي",
"symbol": "CFA"
},
"GNF": {
"name": "فرنك غينيا"
},
"CDF": {
"name": "فرنك كونغولي"
},
"XAF": {
"name": "فرنك وسط أفريقي",
"symbol": "FCFA"
},
"AWG": {
"name": "فلورن أروبي"
},
"HUF": {
"name": "فورينت هنغاري"
},
"NIO": {
"name": "قرطبة نيكاراغوا"
},
"ISK": {
"name": "كرونة أيسلندية"
},
"CZK": {
"name": "كرونة تشيكية"
},
"DKK": {
"name": "كرونة دنماركية"
},
"SEK": {
"name": "كرونة سويدية"
},
"NOK": {
"name": "كرونة نرويجية"
},
"ZMW": {
"name": "كواشا زامبي"
},
"MWK": {
"name": "كواشا مالاوي"
},
"AOA": {
"name": "كوانزا أنغولي"
},
"GTQ": {
"name": "كوتزال غواتيمالا"
},
"CRC": {
"name": "كولن كوستاريكي"
},
"SVC": {
"name": "كولون سلفادوري"
},
"HRK": {
"name": "كونا كرواتي"
},
"MMK": {
"name": "كيات ميانمار"
},
"LAK": {
"name": "كيب لاوسي"
},
"PGK": {
"name": "كينا بابوا غينيا الجديدة"
},
"GEL": {
"name": "لارى جورجي"
},
"LSL": {
"name": "لوتي ليسوتو"
},
"TRY": {
"name": "ليرة تركية"
},
"SYP": {
"name": "ليرة سورية",
"symbol": "ل.س."
},
"BGN": {
"name": "ليف بلغاري"
},
"ALL": {
"name": "ليك ألباني"
},
"SZL": {
"name": "ليلانجيني سوازيلندي"
},
"HNL": {
"name": "ليمبيرا هنداروس"
},
"RON": {
"name": "ليو روماني"
},
"MDL": {
"name": "ليو مولدوفي"
},
"SLL": {
"name": "ليون سيراليوني"
},
"BAM": {
"name": "مارك البوسنة والهرسك قابل للتحويل"
},
"AZN": {
"name": "مانات أذربيجان"
},
"TMT": {
"name": "مانات تركمانستان"
},
"MZN": {
"name": "متكال موزمبيقي"
},
"ERN": {
"name": "ناكفا أريتري"
},
"NGN": {
"name": "نايرا نيجيري"
},
"BTN": {
"name": "نولتوم بوتاني"
},
"UAH": {
"name": "هريفنيا أوكراني"
},
"KRW": {
"name": "وون كوريا الجنوبية",
"symbol": "₩"
},
"KPW": {
"name": "وون كوريا الشمالية"
},
"JPY": {
"name": "ين ياباني",
"symbol": "JP¥"
},
"CNY": {
"name": "يوان صيني",
"symbol": "CN¥"
},
"EUR": {
"name": "يورو",
"symbol": "€"
},
"UYW": {
"name": "Uruguayan Nominal Wage Index Unit"
}
}

496
vendor/commerceguys/intl/resources/currency/as.json vendored

@ -0,0 +1,496 @@
{
"AUD": {
"name": "অষিন ডলৰ",
"symbol": "A$"
},
"ISK": {
"name": "আইচলিক ক"
},
"AZN": {
"name": "আজৰবইজত"
},
"AFN": {
"name": "আফগন আফগ"
},
"AWG": {
"name": "আৰন ফল’ৰিন"
},
"ARS": {
"name": "আৰইন প"
},
"AMD": {
"name": "আৰিন ডম"
},
"DZD": {
"name": "আলজিৰ"
},
"ALL": {
"name": "আলবক"
},
"USD": {
"name": "ইউ. এছ. ডলৰ",
"symbol": "US$"
},
"UAH": {
"name": "ইউকইনভনি"
},
"EUR": {
"name": "ইউৰ",
"symbol": "€"
},
"ILS": {
"name": "ইজৰইলিউ শল",
"symbol": "₪"
},
"EGP": {
"name": "ইজিতৰ পউণড"
},
"IDR": {
"name": "ইণিন ৰিহ"
},
"ETB": {
"name": "ইথিঅ’পিন বিৰ"
},
"IQD": {
"name": "ইৰিৰ"
},
"IRR": {
"name": "ইৰন ৰিল"
},
"XCD": {
"name": "ইষট কিিন ডলৰ",
"symbol": "EC$"
},
"UGX": {
"name": "উগন শিি"
},
"UZS": {
"name": "উজবিম"
},
"KPW": {
"name": "উততৰ কিৰ ওৱন"
},
"UYU": {
"name": "উৰন প"
},
"AOA": {
"name": "এন ক"
},
"ERN": {
"name": "এৰিিন ন"
},
"OMR": {
"name": "ওমিিল"
},
"KMF": {
"name": "ক’মিন ফক"
},
"CDF": {
"name": "কক"
},
"COP": {
"name": "কলমিন প"
},
"KZT": {
"name": "কখসজ"
},
"QAR": {
"name": "কিিল"
},
"CAD": {
"name": "কিন ডলৰ",
"symbol": "CA$"
},
"CUP": {
"name": "কিউবন প"
},
"CUC": {
"name": "কিউবন ৰতৰযয প"
},