Skip to main content
Module

x/appwrite/mod.ts>Locale#get

[READ-ONLY] Official Appwrite Deno SDK 🦕
Go to Latest
method Locale.prototype.get
Re-export
import { Locale } from "https://deno.land/x/appwrite@10.0.0/mod.ts";

Get user 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)