Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nothing seems to work when using the filesystem driver, even after manually creating currencies.json #161

Open
nathan-io opened this issue Mar 22, 2023 · 1 comment

Comments

@nathan-io
Copy link

nathan-io commented Mar 22, 2023

I'm trying to use the filesystem driver to load the currencies from disk, but having no luck.

My config:

    'driver' => 'filesystem',

// ...

    'cache_driver' => null,

// ...

        'filesystem' => [
            'class' => \Torann\Currency\Drivers\Filesystem::class,
            'disk' => null,
            'path' => resource_path('json/currencies.json'),

I manually created the currencies.json folder by taking the array from resources/currencies.php and converting it to JSON. I did this because the currency:update command outputs nothing.

After manually creating currencies.json, I verified that my config path is valid:

> file_exists(config('currency.drivers.filesystem.path'))
= true

However, I still get this:

> currency()->getCurrencies()
= []

What could be going wrong here?

Note that I haven't added the currency middleware, but don't really need that feature. I'm just trying to use this package to format currencies, and to provide a list of values for our dropdown.

@nathan-io
Copy link
Author

currencies.json:

{
    "AED":
    {
        "name": "UAE Dirham",
        "symbol": "\u062f\u0625\u200f",
        "format": "\u062f\u0625\u200f 1,0.00",
        "exchange_rate": 0
    },
    "AFN":
    {
        "name": "Afghanistan, Afghani",
        "symbol": "\u060b",
        "format": "\u060b1,0.00",
        "exchange_rate": 0
    },
    "ALL":
    {
        "name": "Albania, Lek",
        "symbol": "Lek",
        "format": "1,0.00Lek",
        "exchange_rate": 0
    },
    "AMD":
    {
        "name": "Armenian Dram",
        "symbol": "֏",
        "format": "1,0.00 ֏",
        "exchange_rate": 0
    },
    "ANG":
    {
        "name": "Netherlands Antillian Guilder",
        "symbol": "\u0192",
        "format": "\u01921,0.00",
        "exchange_rate": 0
    },
    "AOA":
    {
        "name": "Angola, Kwanza",
        "symbol": "Kz",
        "format": "Kz1,0.00",
        "exchange_rate": 0
    },
    "ARS":
    {
        "name": "Argentine Peso",
        "symbol": "$",
        "format": "$ 1,0.00",
        "exchange_rate": 0
    },
    "AUD":
    {
        "name": "Australian Dollar",
        "symbol": "$",
        "format": "$1,0.00",
        "exchange_rate": 0
    },
    "AWG":
    {
        "name": "Aruban Guilder",
        "symbol": "\u0192",
        "format": "\u01921,0.00",
        "exchange_rate": 0
    },
    "AZN":
    {
        "name": "Azerbaijanian Manat",
        "symbol": "\u20bc",
        "format": "1 0,00 \u20bc",
        "exchange_rate": 0
    },
    "BAM":
    {
        "name": "Bosnia and Herzegovina, Convertible Marks",
        "symbol": "\u041a\u041c",
        "format": "1,0.00 \u041a\u041c",
        "exchange_rate": 0
    },
    "BBD":
    {
        "name": "Barbados Dollar",
        "symbol": "$",
        "format": "$1,0.00",
        "exchange_rate": 0
    },
    "BDT":
    {
        "name": "Bangladesh, Taka",
        "symbol": "\u09f3",
        "format": "\u09f3 1,0.",
        "exchange_rate": 0
    },
    "BGN":
    {
        "name": "Bulgarian Lev",
        "symbol": "\u043b\u0432.",
        "format": "1 0,00 \u043b\u0432.",
        "exchange_rate": 0
    },
    "BHD":
    {
        "name": "Bahraini Dinar",
        "symbol": ".\u062f.",
        "format": ".\u062f. 1,0.000",
        "exchange_rate": 0
    },
    "BIF":
    {
        "name": "Burundi Franc",
        "symbol": "FBu",
        "format": "1,0.FBu",
        "exchange_rate": 0
    },
    "BMD":
    {
        "name": "Bermudian Dollar",
        "symbol": "$",
        "format": "$1,0.00",
        "exchange_rate": 0
    },
    "BND":
    {
        "name": "Brunei Dollar",
        "symbol": "$",
        "format": "$1,0.",
        "exchange_rate": 0
    },
    "BOB":
    {
        "name": "Bolivia, Boliviano",
        "symbol": "Bs",
        "format": "Bs 1,0.00",
        "exchange_rate": 0
    },
    "BRL":
    {
        "name": "Brazilian Real",
        "symbol": "R$",
        "format": "R$ 1,0.00",
        "exchange_rate": 0
    },
    "BSD":
    {
        "name": "Bahamian Dollar",
        "symbol": "$",
        "format": "$1,0.00",
        "exchange_rate": 0
    },
    "BTN":
    {
        "name": "Bhutan, Ngultrum",
        "symbol": "Nu.",
        "format": "Nu. 1,0.0",
        "exchange_rate": 0
    },
    "BWP":
    {
        "name": "Botswana, Pula",
        "symbol": "P",
        "format": "P1,0.00",
        "exchange_rate": 0
    },
    "BYN":
    {
        "name": "Belarussian Ruble",
        "symbol": "\u0440.",
        "format": "1 0,00 \u0440.",
        "exchange_rate": 0
    },
    "BZD":
    {
        "name": "Belize Dollar",
        "symbol": "BZ$",
        "format": "BZ$1,0.00",
        "exchange_rate": 0
    },
    "CAD":
    {
        "name": "Canadian Dollar",
        "symbol": "$",
        "format": "$1,0.00",
        "exchange_rate": 0
    },
    "CDF":
    {
        "name": "Franc Congolais",
        "symbol": "FC",
        "format": "1,0.00FC",
        "exchange_rate": 0
    },
    "CHF":
    {
        "name": "Swiss Franc",
        "symbol": "CHF",
        "format": "1'0.00 CHF",
        "exchange_rate": 0
    },
    "CLP":
    {
        "name": "Chilean Peso",
        "symbol": "$",
        "format": "$ 1,0.00",
        "exchange_rate": 0
    },
    "CNY":
    {
        "name": "China Yuan Renminbi",
        "symbol": "\u00a5",
        "format": "\u00a51,0.00",
        "exchange_rate": 0
    },
    "COP":
    {
        "name": "Colombian Peso",
        "symbol": "$",
        "format": "$ 1,0.00",
        "exchange_rate": 0
    },
    "CRC":
    {
        "name": "Costa Rican Colon",
        "symbol": "\u20a1",
        "format": "\u20a11,0.00",
        "exchange_rate": 0
    },
    "CUC":
    {
        "name": "Cuban Convertible Peso",
        "symbol": "CUC",
        "format": "CUC1,0.00",
        "exchange_rate": 0
    },
    "CUP":
    {
        "name": "Cuban Peso",
        "symbol": "$MN",
        "format": "$MN1,0.00",
        "exchange_rate": 0
    },
    "CVE":
    {
        "name": "Cape Verde Escudo",
        "symbol": "$",
        "format": "$1,0.00",
        "exchange_rate": 0
    },
    "CZK":
    {
        "name": "Czech Koruna",
        "symbol": "K\u010d",
        "format": "1 0,00 K\u010d",
        "exchange_rate": 0
    },
    "DJF":
    {
        "name": "Djibouti Franc",
        "symbol": "Fdj",
        "format": "1,0.Fdj",
        "exchange_rate": 0
    },
    "DKK":
    {
        "name": "Danish Krone",
        "symbol": "kr.",
        "format": "1 0,00 kr.",
        "exchange_rate": 0
    },
    "DOP":
    {
        "name": "Dominican Peso",
        "symbol": "RD$",
        "format": "RD$1,0.00",
        "exchange_rate": 0
    },
    "DZD":
    {
        "name": "Algerian Dinar",
        "symbol": "\u062f.\u062c\u200f",
        "format": "\u062f.\u062c\u200f 1,0.00",
        "exchange_rate": 0
    },
    "EGP":
    {
        "name": "Egyptian Pound",
        "symbol": "\u062c.\u0645",
        "format": "\u062c.\u0645 1,0.00",
        "exchange_rate": 0
    },
    "ERN":
    {
        "name": "Eritrea, Nakfa",
        "symbol": "Nfk",
        "format": "1,0.00Nfk",
        "exchange_rate": 0
    },
    "ETB":
    {
        "name": "Ethiopian Birr",
        "symbol": "ETB",
        "format": "ETB1,0.00",
        "exchange_rate": 0
    },
    "EUR":
    {
        "name": "Euro",
        "symbol": "\u20ac",
        "format": "1.0,00 \u20ac",
        "exchange_rate": 0
    },
    "FJD":
    {
        "name": "Fiji Dollar",
        "symbol": "$",
        "format": "$1,0.00",
        "exchange_rate": 0
    },
    "FKP":
    {
        "name": "Falkland Islands Pound",
        "symbol": "\u00a3",
        "format": "\u00a31,0.00",
        "exchange_rate": 0
    },
    "GBP":
    {
        "name": "Pound Sterling",
        "symbol": "\u00a3",
        "format": "\u00a31,0.00",
        "exchange_rate": 0
    },
    "GEL":
    {
        "name": "Georgia, Lari",
        "symbol": "Lari",
        "format": "1 0,00 Lari",
        "exchange_rate": 0
    },
    "GHS":
    {
        "name": "Ghana Cedi",
        "symbol": "\u20b5",
        "format": "\u20b51,0.00",
        "exchange_rate": 0
    },
    "GIP":
    {
        "name": "Gibraltar Pound",
        "symbol": "\u00a3",
        "format": "\u00a31,0.00",
        "exchange_rate": 0
    },
    "GMD":
    {
        "name": "Gambia, Dalasi",
        "symbol": "D",
        "format": "1,0.00D",
        "exchange_rate": 0
    },
    "GNF":
    {
        "name": "Guinean franc",
        "symbol": "FG",
        "format": "1,0.00FG",
        "exchange_rate": 0
    },
    "GTQ":
    {
        "name": "Guatemala, Quetzal",
        "symbol": "Q",
        "format": "Q1,0.00",
        "exchange_rate": 0
    },
    "GYD":
    {
        "name": "Guyana Dollar",
        "symbol": "$",
        "format": "$1,0.00",
        "exchange_rate": 0
    },
    "HKD":
    {
        "name": "Hong Kong Dollar",
        "symbol": "HK$",
        "format": "HK$1,0.00",
        "exchange_rate": 0
    },
    "HNL":
    {
        "name": "Honduras, Lempira",
        "symbol": "L.",
        "format": "L. 1,0.00",
        "exchange_rate": 0
    },
    "HRK":
    {
        "name": "Croatian Kuna",
        "symbol": "kn",
        "format": "1,0.00 kn",
        "exchange_rate": 0
    },
    "HTG":
    {
        "name": "Haiti, Gourde",
        "symbol": "G",
        "format": "G1,0.00",
        "exchange_rate": 0
    },
    "HUF":
    {
        "name": "Hungary, Forint",
        "symbol": "Ft",
        "format": "1 0,00 Ft",
        "exchange_rate": 0
    },
    "IDR":
    {
        "name": "Indonesia, Rupiah",
        "symbol": "Rp",
        "format": "Rp1,0.",
        "exchange_rate": 0
    },
    "ILS":
    {
        "name": "New Israeli Shekel",
        "symbol": "\u20aa",
        "format": "\u20aa 1,0.00",
        "exchange_rate": 0
    },
    "INR":
    {
        "name": "Indian Rupee",
        "symbol": "\u20b9",
        "format": "1,0.00\u20b9",
        "exchange_rate": 0
    },
    "IQD":
    {
        "name": "Iraqi Dinar",
        "symbol": "\u062f.\u0639.\u200f",
        "format": "\u062f.\u0639.\u200f 1,0.00",
        "exchange_rate": 0
    },
    "IRR":
    {
        "name": "Iranian Rial",
        "symbol": "\ufdfc",
        "format": "\ufdfc 1,0/00",
        "exchange_rate": 0
    },
    "ISK":
    {
        "name": "Iceland Krona",
        "symbol": "kr.",
        "format": "1,0. kr.",
        "exchange_rate": 0
    },
    "JMD":
    {
        "name": "Jamaican Dollar",
        "symbol": "J$",
        "format": "J$1,0.00",
        "exchange_rate": 0
    },
    "JOD":
    {
        "name": "Jordanian Dinar",
        "symbol": "\u062f.\u0627.\u200f",
        "format": "\u062f.\u0627.\u200f 1,0.000",
        "exchange_rate": 0
    },
    "JPY":
    {
        "name": "Japan, Yen",
        "symbol": "\u00a5",
        "format": "\u00a51,0.",
        "exchange_rate": 0
    },
    "KES":
    {
        "name": "Kenyan Shilling",
        "symbol": "Ksh",
        "format": "Ksh1,0.00",
        "exchange_rate": 0
    },
    "KGS":
    {
        "name": "Kyrgyzstan, Som",
        "symbol": "\u0441\u043e\u043c",
        "format": "1 0-00 \u0441\u043e\u043c",
        "exchange_rate": 0
    },
    "KHR":
    {
        "name": "Cambodia, Riel",
        "symbol": "\u17db",
        "format": "1,0.\u17db",
        "exchange_rate": 0
    },
    "KMF":
    {
        "name": "Comoro Franc",
        "symbol": "CF",
        "format": "1,0.00CF",
        "exchange_rate": 0
    },
    "KPW":
    {
        "name": "North Korean Won",
        "symbol": "\u20a9",
        "format": "\u20a91,0.",
        "exchange_rate": 0
    },
    "KRW":
    {
        "name": "South Korea, Won",
        "symbol": "\u20a9",
        "format": "\u20a91,0.",
        "exchange_rate": 0
    },
    "KWD":
    {
        "name": "Kuwaiti Dinar",
        "symbol": "\u062f\u064a\u0646\u0627\u0631\u200e\u200e\u200f",
        "format": "\u062f\u064a\u0646\u0627\u0631\u200e\u200e\u200f 1,0.000",
        "exchange_rate": 0
    },
    "KYD":
    {
        "name": "Cayman Islands Dollar",
        "symbol": "$",
        "format": "$1,0.00",
        "exchange_rate": 0
    },
    "KZT":
    {
        "name": "Kazakhstan, Tenge",
        "symbol": "\u20b8",
        "format": "\u20b81 0-00",
        "exchange_rate": 0
    },
    "LAK":
    {
        "name": "Laos, Kip",
        "symbol": "\u20ad",
        "format": "1,0.\u20ad",
        "exchange_rate": 0
    },
    "LBP":
    {
        "name": "Lebanese Pound",
        "symbol": "\u0644.\u0644.\u200f",
        "format": "\u0644.\u0644.\u200f 1,0.00",
        "exchange_rate": 0
    },
    "LKR":
    {
        "name": "Sri Lanka Rupee",
        "symbol": "\u20a8",
        "format": "\u20a8 1,0.",
        "exchange_rate": 0
    },
    "LRD":
    {
        "name": "Liberian Dollar",
        "symbol": "$",
        "format": "$1,0.00",
        "exchange_rate": 0
    },
    "LSL":
    {
        "name": "Lesotho, Loti",
        "symbol": "M",
        "format": "1,0.00M",
        "exchange_rate": 0
    },
    "LYD":
    {
        "name": "Libyan Dinar",
        "symbol": "\u062f.\u0644.\u200f",
        "format": "\u062f.\u0644.\u200f1,0.000",
        "exchange_rate": 0
    },
    "MAD":
    {
        "name": "Moroccan Dirham",
        "symbol": "\u062f.\u0645.\u200f",
        "format": "\u062f.\u0645.\u200f 1,0.00",
        "exchange_rate": 0
    },
    "MDL":
    {
        "name": "Moldovan Leu",
        "symbol": "lei",
        "format": "1,0.00 lei",
        "exchange_rate": 0
    },
    "MGA":
    {
        "name": "Malagasy Ariary",
        "symbol": "Ar",
        "format": "Ar1,0.",
        "exchange_rate": 0
    },
    "MKD":
    {
        "name": "Macedonia, Denar",
        "symbol": "\u0434\u0435\u043d.",
        "format": "1,0.00 \u0434\u0435\u043d.",
        "exchange_rate": 0
    },
    "MMK":
    {
        "name": "Myanmar, Kyat",
        "symbol": "K",
        "format": "K1,0.00",
        "exchange_rate": 0
    },
    "MNT":
    {
        "name": "Mongolia, Tugrik",
        "symbol": "\u20ae",
        "format": "\u20ae1 0,00",
        "exchange_rate": 0
    },
    "MOP":
    {
        "name": "Macao, Pataca",
        "symbol": "MOP$",
        "format": "MOP$1,0.00",
        "exchange_rate": 0
    },
    "MRU":
    {
        "name": "Mauritania, Ouguiya",
        "symbol": "UM",
        "format": "1,0.00UM",
        "exchange_rate": 0
    },
    "MTL":
    {
        "name": "Maltese Lira",
        "symbol": "\u20a4",
        "format": "\u20a41,0.00",
        "exchange_rate": 0
    },
    "MUR":
    {
        "name": "Mauritius Rupee",
        "symbol": "\u20a8",
        "format": "\u20a81,0.00",
        "exchange_rate": 0
    },
    "MVR":
    {
        "name": "Maldives, Rufiyaa",
        "symbol": "MVR",
        "format": "1,0.0 MVR",
        "exchange_rate": 0
    },
    "MWK":
    {
        "name": "Malawi, Kwacha",
        "symbol": "MK",
        "format": "MK1,0.00",
        "exchange_rate": 0
    },
    "MXN":
    {
        "name": "Mexican Peso",
        "symbol": "$",
        "format": "$1,0.00",
        "exchange_rate": 0
    },
    "MYR":
    {
        "name": "Malaysian Ringgit",
        "symbol": "RM",
        "format": "RM1,0.00",
        "exchange_rate": 0
    },
    "MZN":
    {
        "name": "Mozambique Metical",
        "symbol": "MT",
        "format": "MT1,0.",
        "exchange_rate": 0
    },
    "NAD":
    {
        "name": "Namibian Dollar",
        "symbol": "$",
        "format": "$1,0.00",
        "exchange_rate": 0
    },
    "NGN":
    {
        "name": "Nigeria, Naira",
        "symbol": "\u20a6",
        "format": "\u20a61,0.00",
        "exchange_rate": 0
    },
    "NIO":
    {
        "name": "Nicaragua, Cordoba Oro",
        "symbol": "C$",
        "format": "C$ 1,0.00",
        "exchange_rate": 0
    },
    "NOK":
    {
        "name": "Norwegian Krone",
        "symbol": "kr",
        "format": "1.0,00 kr",
        "exchange_rate": 0
    },
    "NPR":
    {
        "name": "Nepalese Rupee",
        "symbol": "\u20a8",
        "format": "\u20a81,0.00",
        "exchange_rate": 0
    },
    "NZD":
    {
        "name": "New Zealand Dollar",
        "symbol": "$",
        "format": "$1,0.00",
        "exchange_rate": 0
    },
    "OMR":
    {
        "name": "Rial Omani",
        "symbol": "\ufdfc",
        "format": "\ufdfc 1,0.000",
        "exchange_rate": 0
    },
    "PAB":
    {
        "name": "Panama, Balboa",
        "symbol": "B/.",
        "format": "B/. 1,0.00",
        "exchange_rate": 0
    },
    "PEN":
    {
        "name": "Peru, Nuevo Sol",
        "symbol": "S/.",
        "format": "S/. 1,0.00",
        "exchange_rate": 0
    },
    "PGK":
    {
        "name": "Papua New Guinea, Kina",
        "symbol": "K",
        "format": "K1,0.00",
        "exchange_rate": 0
    },
    "PHP":
    {
        "name": "Philippine Peso",
        "symbol": "\u20b1",
        "format": "\u20b11,0.00",
        "exchange_rate": 0
    },
    "PKR":
    {
        "name": "Pakistan Rupee",
        "symbol": "\u20a8",
        "format": "\u20a81,0.00",
        "exchange_rate": 0
    },
    "PLN":
    {
        "name": "Poland, Zloty",
        "symbol": "z\u0142",
        "format": "1 0,00 z\u0142",
        "exchange_rate": 0
    },
    "PYG":
    {
        "name": "Paraguay, Guarani",
        "symbol": "\u20b2",
        "format": "\u20b2 1,0.00",
        "exchange_rate": 0
    },
    "QAR":
    {
        "name": "Qatari Rial",
        "symbol": "\ufdfc",
        "format": "\ufdfc 1,0.00",
        "exchange_rate": 0
    },
    "RON":
    {
        "name": "Romania, New Leu",
        "symbol": "lei",
        "format": "1,0.00 lei",
        "exchange_rate": 0
    },
    "RSD":
    {
        "name": "Serbian Dinar",
        "symbol": "\u0414\u0438\u043d.",
        "format": "1,0.00 \u0414\u0438\u043d.",
        "exchange_rate": 0
    },
    "RUB":
    {
        "name": "Russian Ruble",
        "symbol": "\u20bd",
        "format": "1 0,00 \u20bd",
        "exchange_rate": 0
    },
    "RWF":
    {
        "name": "Rwanda Franc",
        "symbol": "RWF",
        "format": "RWF 1 0,00",
        "exchange_rate": 0
    },
    "SAR":
    {
        "name": "Saudi Riyal",
        "symbol": "\ufdfc",
        "format": "\ufdfc 1,0.00",
        "exchange_rate": 0
    },
    "SBD":
    {
        "name": "Solomon Islands Dollar",
        "symbol": "$",
        "format": "$1,0.00",
        "exchange_rate": 0
    },
    "SCR":
    {
        "name": "Seychelles Rupee",
        "symbol": "\u20a8",
        "format": "\u20a81,0.00",
        "exchange_rate": 0
    },
    "SDG":
    {
        "name": "Sudanese Pound",
        "symbol": "\u062c.\u0633",
        "format": "1,0.00 Sd",
        "exchange_rate": 0
    },
    "SEK":
    {
        "name": "Swedish Krona",
        "symbol": "kr",
        "format": "1 0,00 kr",
        "exchange_rate": 0
    },
    "SGD":
    {
        "name": "Singapore Dollar",
        "symbol": "$",
        "format": "$1,0.00",
        "exchange_rate": 0
    },
    "SHP":
    {
        "name": "Saint Helena Pound",
        "symbol": "\u00a3",
        "format": "\u00a31,0.00",
        "exchange_rate": 0
    },
    "SLL":
    {
        "name": "Sierra Leone, Leone",
        "symbol": "Le",
        "format": "Le1,0.00",
        "exchange_rate": 0
    },
    "SOS":
    {
        "name": "Somali Shilling",
        "symbol": "S",
        "format": "S1,0.00",
        "exchange_rate": 0
    },
    "SRD":
    {
        "name": "Surinam Dollar",
        "symbol": "$",
        "format": "$1,0.00",
        "exchange_rate": 0
    },
    "SSP":
    {
        "name": "South Sudanese pound",
        "symbol": "SS\u00a3",
        "format": "SS \u00a31,0.00",
        "exchange_rate": 0
    },
    "STN":
    {
        "name": "Sao Tome and Principe, Dobra",
        "symbol": "Db",
        "format": "Db1,0.00",
        "exchange_rate": 0
    },
    "SVC":
    {
        "name": "El Salvador Colon",
        "symbol": "\u20a1",
        "format": "\u20a11,0.00",
        "exchange_rate": 0
    },
    "SYP":
    {
        "name": "Syrian Pound",
        "symbol": "\u00a3",
        "format": "\u00a3 1,0.00",
        "exchange_rate": 0
    },
    "SZL":
    {
        "name": "Swaziland, Lilangeni",
        "symbol": "E",
        "format": "E1,0.00",
        "exchange_rate": 0
    },
    "THB":
    {
        "name": "Thailand, Baht",
        "symbol": "\u0e3f",
        "format": "\u0e3f1,0.00",
        "exchange_rate": 0
    },
    "TJS":
    {
        "name": "Tajikistan, Somoni",
        "symbol": "TJS",
        "format": "1 0;00 TJS",
        "exchange_rate": 0
    },
    "TMT":
    {
        "name": "Turkmenistani New Manat",
        "symbol": "m",
        "format": "1 0,m",
        "exchange_rate": 0
    },
    "TND":
    {
        "name": "Tunisian Dinar",
        "symbol": "\u062f.\u062a.\u200f",
        "format": "\u062f.\u062a.\u200f 1,0.000",
        "exchange_rate": 0
    },
    "TOP":
    {
        "name": "Tonga, Paanga",
        "symbol": "T$",
        "format": "T$1,0.00",
        "exchange_rate": 0
    },
    "TRY":
    {
        "name": "Turkish Lira",
        "symbol": "TL",
        "format": "\u20ba1,0.00",
        "exchange_rate": 0
    },
    "TTD":
    {
        "name": "Trinidad and Tobago Dollar",
        "symbol": "TT$",
        "format": "TT$1,0.00",
        "exchange_rate": 0
    },
    "TWD":
    {
        "name": "New Taiwan Dollar",
        "symbol": "NT$",
        "format": "NT$1,0.00",
        "exchange_rate": 0
    },
    "TZS":
    {
        "name": "Tanzanian Shilling",
        "symbol": "TSh",
        "format": "TSh1,0.00",
        "exchange_rate": 0
    },
    "UAH":
    {
        "name": "Ukraine, Hryvnia",
        "symbol": "\u20b4",
        "format": "1 0,00\u20b4",
        "exchange_rate": 0
    },
    "UGX":
    {
        "name": "Uganda Shilling",
        "symbol": "USh",
        "format": "USh1,0.00",
        "exchange_rate": 0
    },
    "USD":
    {
        "name": "US Dollar",
        "symbol": "$",
        "format": "$1,0.00",
        "exchange_rate": 0
    },
    "UYU":
    {
        "name": "Peso Uruguayo",
        "symbol": "$U",
        "format": "$U 1,0.00",
        "exchange_rate": 0
    },
    "UZS":
    {
        "name": "Uzbekistan Sum",
        "symbol": "\u0441\u045e\u043c",
        "format": "1 0,00 \u0441\u045e\u043c",
        "exchange_rate": 0
    },
    "VES":
    {
        "name": "Venezuela Bolivares soberano",
        "symbol": "Bs. S.",
        "format": "Bs. S. 1,0.00",
        "exchange_rate": 0
    },
    "VND":
    {
        "name": "Viet Nam, Dong",
        "symbol": "\u20ab",
        "format": "1,0.0 \u20ab",
        "exchange_rate": 0
    },
    "VUV":
    {
        "name": "Vanuatu, Vatu",
        "symbol": "VT",
        "format": "1,0.VT",
        "exchange_rate": 0
    },
    "WST":
    {
        "name": "Samoa, Tala",
        "symbol": "WS$",
        "format": "WS$1,0.00",
        "exchange_rate": 0
    },
    "XAF":
    {
        "name": "Franc CFA (XAF)",
        "symbol": "F.CFA",
        "format": "1,0.00 F.CFA",
        "exchange_rate": 0
    },
    "XCD":
    {
        "name": "East Caribbean Dollar",
        "symbol": "$",
        "format": "$1,0.00",
        "exchange_rate": 0
    },
    "XOF":
    {
        "name": "Franc CFA (XOF)",
        "symbol": "F.CFA",
        "format": "1,0.00 F.CFA",
        "exchange_rate": 0
    },
    "XPF":
    {
        "name": "CFP Franc",
        "symbol": "F",
        "format": "1,0.00F",
        "exchange_rate": 0
    },
    "YER":
    {
        "name": "Yemeni Rial",
        "symbol": "\ufdfc",
        "format": "\ufdfc 1,0.00",
        "exchange_rate": 0
    },
    "ZAR":
    {
        "name": "South Africa, Rand",
        "symbol": "R",
        "format": "R 1,0.00",
        "exchange_rate": 0
    },
    "ZMW":
    {
        "name": "Zambia Kwacha",
        "symbol": "ZK",
        "format": "ZK1,0.00",
        "exchange_rate": 0
    },
    "ZWL":
    {
        "name": "Zimbabwean dollar",
        "symbol": "$",
        "format": "$1,0.00",
        "exchange_rate": 0
    }
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant