Home
last modified time | relevance | path

Searched refs:getLocales (Results 1 – 25 of 25) sorted by relevance

/expo/packages/expo-localization/src/
H A DLocalization.ts124 export const getLocales = ExpoLocalization.getLocales; constant
163 const locales = useMemo(() => getLocales(), [key]);
H A DExpoLocalization.ts127 getLocales(): Locale[] {
/expo/packages/@expo/config-plugins/src/ios/__tests__/
H A DLocales-test.ts7 import { getLocales, setLocalesAsync } from '../Locales';
15 expect(getLocales({})).toBeNull();
20 getLocales({
/expo/packages/expo-localization/build/
H A DLocalization.js107 export const getLocales = ExpoLocalization.getLocales; constant
144 const locales = useMemo(() => getLocales(), [key]);
H A DLocalization.js.map1getLocales() instead.\n * Three-character ISO 4217 currency code. Returns `null` on web.\n *\n * @…
H A DLocalization.d.ts96 export declare const getLocales: () => import("./Localization.types").Locale[]; constant
H A DExpoLocalization.d.ts17 getLocales(): Locale[];
H A DExpoLocalization.js106 getLocales() { constant
H A DExpoLocalization.js.map1getLocales(): Locale[] {\n const locales = getNavigatorLocales();\n return locales?.map((lan…
/expo/packages/@expo/config-plugins/build/ios/
H A DLocales.js6 exports.getLocales = getLocales;
63 function getLocales(config) { function
71 const locales = getLocales(config);
H A DLocales.d.ts8 export declare function getLocales(config: Pick<ExpoConfig, 'locales'>): Record<string, string | Lo… function
H A DLocales.js.map1getLocales","_config$locales","locales","localesMap","getResolvedLocalesAsync","projectName","getP…
/expo/docs/pages/versions/unversioned/sdk/
H A Dlocalization.mdx28 import { getLocales, getCalendars } from 'expo-localization';
33 You can use synchronous `getLocales()` and `getCalendars()` methods to get the locale settings of t…
35 … restarting apps. To keep the localization current, you can rerun the `getLocales()` and `getCalen…
/expo/docs/pages/versions/v47.0.0/sdk/
H A Dlocalization.mdx28 import { getLocales, getCalendars } from 'expo-localization';
33 You can use synchronous `getLocales()` and `getCalendars()` methods to get the locale settings of t…
35 … restarting apps. To keep the localization current, you can rerun the `getLocales()` and `getCalen…
/expo/docs/pages/versions/v49.0.0/sdk/
H A Dlocalization.mdx28 import { getLocales, getCalendars } from 'expo-localization';
33 You can use synchronous `getLocales()` and `getCalendars()` methods to get the locale settings of t…
35 … restarting apps. To keep the localization current, you can rerun the `getLocales()` and `getCalen…
/expo/docs/pages/versions/v48.0.0/sdk/
H A Dlocalization.mdx28 import { getLocales, getCalendars } from 'expo-localization';
33 You can use synchronous `getLocales()` and `getCalendars()` methods to get the locale settings of t…
35 … restarting apps. To keep the localization current, you can rerun the `getLocales()` and `getCalen…
/expo/ios/versioned/sdk47/ExpoLocalization/
H A DLocalizationModule.swift17 return Self.getLocales() in definition()
76 static func getLocales() -> [[String: Any?]] { in getLocales() function
/expo/packages/@expo/config-plugins/src/ios/
H A DLocales.ts26 export function getLocales( function
36 const locales = getLocales(config);
/expo/ios/versioned/sdk48/ExpoLocalization/
H A DLocalizationModule.swift17 return Self.getLocales() in definition()
94 static func getLocales() -> [[String: Any?]] { in getLocales() function
/expo/docs/pages/guides/
H A Dlocalization.mdx23 import { getLocales } from 'expo-localization';
25 const deviceLanguage = getLocales()[0].languageCode;
48 import { getLocales } from 'expo-localization';
58 i18n.locale = getLocales()[0].languageCode;
102 <Text>Device locale: {Localization.getLocales()[0].languageCode}</Text>
273 import { getLocales } from 'expo-localization';
276 return <View dir={getLocales()[0].textDirection || 'ltr'}>//...</View>;
306 import { getLocales } from 'expo-localization';
308 const deviceLanguage = getLocales()[0].languageCode;
339 import { getLocales, getCalendars } from 'expo-localization';
[all …]
/expo/ios/versioned/sdk49/ExpoLocalization/
H A DLocalizationModule.swift20 return Self.getLocales() in definition()
129 static func getLocales() -> [[String: Any?]] { in getLocales() function
/expo/packages/expo-localization/ios/
H A DLocalizationModule.swift20 return Self.getLocales() in definition()
129 static func getLocales() -> [[String: Any?]] { in getLocales() function
/expo/apps/native-component-list/src/screens/
H A DLocalizationScreen.tsx14 i18n.locale = Localization.getLocales()[0].languageTag;
105 <MonoText>{JSON.stringify(Localization.getLocales(), null, 2)}</MonoText>
/expo/apps/test-suite/tests/
H A DLocalization.js36 const locales = Localization.getLocales();
/expo/packages/expo-localization/
H A DCHANGELOG.md68 - Added two new synchronous functions: `getLocales` and `getCalendars`. ([#19019](https://github.co…