For the complete documentation index, see llms.txt. This page is also available as Markdown.

Device.locale

함수형 API getLocale로도 같은 기능을 쓸 수 있어요.

기능 설명

사용자의 로케일(locale) 정보예요. 네이티브에서 가져올 수 없으면 기본값 'ko-KR'이에요. 앱의 현지화·언어 설정에 사용할 수 있어요.

상수 값이라 호출 없이 바로 읽어요.

타입

Device.locale: string;

Params

없음

Response

로케일 문자열이에요. 예: 'ko-KR'.

예시 코드

import { Device } from "@apps-in-toss/web-framework";

console.log(Device.locale);

도움이 되었나요?