Created
September 17, 2018 15:02
-
-
Save janhesters/574a0530d352c3e34b92a2a7ab3f6f8e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ... your other imports | |
import LocalizedStrings from 'react-native-localization'; | |
let strings = new LocalizedStrings({ | |
en: { | |
welcome: "Welcome to React Native!", | |
instructions: "To get started, edit App.tsx", | |
instructionsIOS: "Press Cmd+R to reload,\n" + "Cmd+D or shake for dev menu", | |
instructionsAndroid: "Double tap R on your keyboard to reload,\n" + "Shake or press menu button for dev menu" | |
}, | |
de: { | |
welcome: "Willkommen zu React Native!", | |
instructions: "Um anzufangen, bearbeite App.tsx", | |
instructionsIOS: "Drücke Cmd+R zum Neuladen,\n" + "Cmd+D oder schüttle für das Entwickler Menü", | |
instructionsAndroid: "Tippe doppelt auf R auf deiner Tastatur um neu zu laden,\n" + "Schüttle oder drücke den Menü Knopf für das Entwickler Menü" | |
} | |
}) | |
const instructions = Platform.select({ | |
// ... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment