Browse Source

Added locales folder to project root. There, files index.js, es.json, en.json wereadded to enable identification of device language settings to display app text accordingly.

ErnestoOrtiz2 3 years ago
parent
commit
3dd7663ba5
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      App.js

+ 1
- 1
App.js View File

7
 export default function App() {
7
 export default function App() {
8
   return (
8
   return (
9
     <View style={styles.container}>
9
     <View style={styles.container}>
10
-      <Text>{t{"Hello"}}</Text>
10
+      <Text>{t("Hola")}</Text>
11
       <StatusBar style="auto" />
11
       <StatusBar style="auto" />
12
     </View>
12
     </View>
13
   );
13
   );