Device.locale
Functional API
getLocaleYou can use the same feature through it as well.
Feature description
This is the user's locale information. If it can't be obtained from native, the default value is 'ko-KR'It is. You can use it for your app's localization and language settings.
It's a constant value, so you can read it directly without calling anything.
Type
Device.locale: string;Params
None
Response
It's a locale string. Example: 'ko-KR'.
Example code
import { Device } from "@apps-in-toss/web-framework";
console.log(Device.locale);Was this helpful?