1 | <p>
|
2 | <a href="https://docs.expo.dev/versions/latest/sdk/localization/">
|
3 | <img
|
4 | src="../../.github/resources/expo-localization.svg"
|
5 | alt="expo-localization"
|
6 | height="64" />
|
7 | </a>
|
8 | </p>
|
9 |
|
10 | Provides an interface for native user localization information.
|
11 |
|
12 | # API documentation
|
13 |
|
14 | - [Documentation for the main branch](https://github.com/expo/expo/blob/main/docs/pages/versions/unversioned/sdk/localization.mdx)
|
15 | - [Documentation for the latest stable release](https://docs.expo.dev/versions/latest/sdk/localization/)
|
16 |
|
17 | # Installation in managed Expo projects
|
18 |
|
19 | For [managed](https://docs.expo.dev/archive/managed-vs-bare/) Expo projects, please follow the installation instructions in the [API documentation for the latest stable release](https://docs.expo.dev/versions/latest/sdk/localization/).
|
20 |
|
21 | # Installation in bare React Native projects
|
22 |
|
23 | For bare React Native projects, you must ensure that you have [installed and configured the `expo` package](https://docs.expo.dev/bare/installing-expo-modules/) before continuing.
|
24 |
|
25 | ### Add the package to your npm dependencies
|
26 |
|
27 | ```
|
28 | npx expo install expo-localization
|
29 | ```
|
30 |
|
31 | ### Configure for iOS
|
32 |
|
33 | Run `npx pod-install` after installing the npm package.
|
34 |
|
35 | ### Configure for Android
|
36 |
|
37 | No additional set up necessary.
|
38 |
|
39 | # Contributing
|
40 |
|
41 | Contributions are very welcome! Please refer to guidelines described in the [contributing guide](https://github.com/expo/expo#contributing).
|