| /expo/packages/expo-localization/src/ |
| H A D | Localization.ts | 124 export const getLocales = ExpoLocalization.getLocales; constant 163 const locales = useMemo(() => getLocales(), [key]);
|
| H A D | ExpoLocalization.ts | 127 getLocales(): Locale[] {
|
| /expo/packages/@expo/config-plugins/src/ios/__tests__/ |
| H A D | Locales-test.ts | 7 import { getLocales, setLocalesAsync } from '../Locales'; 15 expect(getLocales({})).toBeNull(); 20 getLocales({
|
| /expo/packages/expo-localization/build/ |
| H A D | Localization.js | 107 export const getLocales = ExpoLocalization.getLocales; constant 144 const locales = useMemo(() => getLocales(), [key]);
|
| H A D | Localization.js.map | 1 …getLocales() instead.\n * Three-character ISO 4217 currency code. Returns `null` on web.\n *\n * @…
|
| H A D | Localization.d.ts | 96 export declare const getLocales: () => import("./Localization.types").Locale[]; constant
|
| H A D | ExpoLocalization.d.ts | 17 getLocales(): Locale[];
|
| H A D | ExpoLocalization.js | 106 getLocales() { constant
|
| H A D | ExpoLocalization.js.map | 1 …getLocales(): Locale[] {\n const locales = getNavigatorLocales();\n return locales?.map((lan…
|
| /expo/packages/@expo/config-plugins/build/ios/ |
| H A D | Locales.js | 6 exports.getLocales = getLocales; 63 function getLocales(config) { function 71 const locales = getLocales(config);
|
| H A D | Locales.d.ts | 8 export declare function getLocales(config: Pick<ExpoConfig, 'locales'>): Record<string, string | Lo… function
|
| H A D | Locales.js.map | 1 …getLocales","_config$locales","locales","localesMap","getResolvedLocalesAsync","projectName","getP…
|
| /expo/docs/pages/versions/unversioned/sdk/ |
| H A D | localization.mdx | 28 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 D | localization.mdx | 28 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 D | localization.mdx | 28 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 D | localization.mdx | 28 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 D | LocalizationModule.swift | 17 return Self.getLocales() in definition() 76 static func getLocales() -> [[String: Any?]] { in getLocales() function
|
| /expo/packages/@expo/config-plugins/src/ios/ |
| H A D | Locales.ts | 26 export function getLocales( function 36 const locales = getLocales(config);
|
| /expo/ios/versioned/sdk48/ExpoLocalization/ |
| H A D | LocalizationModule.swift | 17 return Self.getLocales() in definition() 94 static func getLocales() -> [[String: Any?]] { in getLocales() function
|
| /expo/docs/pages/guides/ |
| H A D | localization.mdx | 23 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 D | LocalizationModule.swift | 20 return Self.getLocales() in definition() 129 static func getLocales() -> [[String: Any?]] { in getLocales() function
|
| /expo/packages/expo-localization/ios/ |
| H A D | LocalizationModule.swift | 20 return Self.getLocales() in definition() 129 static func getLocales() -> [[String: Any?]] { in getLocales() function
|
| /expo/apps/native-component-list/src/screens/ |
| H A D | LocalizationScreen.tsx | 14 i18n.locale = Localization.getLocales()[0].languageTag; 105 <MonoText>{JSON.stringify(Localization.getLocales(), null, 2)}</MonoText>
|
| /expo/apps/test-suite/tests/ |
| H A D | Localization.js | 36 const locales = Localization.getLocales();
|
| /expo/packages/expo-localization/ |
| H A D | CHANGELOG.md | 68 - Added two new synchronous functions: `getLocales` and `getCalendars`. ([#19019](https://github.co…
|