Skip to main content
Deno 2 is finally here 🎉️
Learn more
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@6.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)