1
0
Fork 0
mirror of synced 2024-07-04 06:00:53 +12:00
appwrite/app/sdks/php/docs/locale.md
2020-01-27 23:50:41 +02:00

1.4 KiB

Locale Service

Get User Locale

GET https://appwrite.io/v1/locale

** Get the current user location based on IP. Returns an object with user country code, country name, continent name, continent code, ip address and suggested currency. You can use the locale header to get the data in a supported language.

(IP Geolocation by DB-IP) **

List Countries

GET https://appwrite.io/v1/locale/continents

** List of all continents. You can use the locale header to get the data in a supported language. **

List Countries

GET https://appwrite.io/v1/locale/countries

** List of all countries. You can use the locale header to get the data in a supported language. **

List EU Countries

GET https://appwrite.io/v1/locale/countries/eu

** List of all countries that are currently members of the EU. You can use the locale header to get the data in a supported language. **

List Countries Phone Codes

GET https://appwrite.io/v1/locale/countries/phones

** List of all countries phone codes. You can use the locale header to get the data in a supported language. **

List Currencies

GET https://appwrite.io/v1/locale/currencies

** List of all currencies, including currency symol, name, plural, and decimal digits for all major and minor currencies. You can use the locale header to get the data in a supported language. **