Appwrite is now available as a DigitalOcean 1-click app! Click to install! 🚀

Locale Object


Name Type Description
ip string

User IP address.

countryCode string

Country code in ISO 3166-1 two-character format

country string

Country name. This field support localization.

continentCode string

Continent code. A two character continent code "AF" for Africa, "AN" for Antarctica, "AS" for Asia, "EU" for Europe, "NA" for North America, "OC" for Oceania, and "SA" for South America.

continent string

Continent name. This field support localization.

eu boolean

True if country is part of the Europian Union.

currency string

Currency code in ISO 4217-1 three-character format



    "ip": "",
    "countryCode": "US",
    "country": "United States",
    "continentCode": "NA",
    "continent": "North America",
    "eu": false,
    "currency": "USD"