File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -57,21 +57,24 @@ npm install react-native-paper-dates --save
5757
5858## Import some localized strings
5959Ideally you do this somewhere in your ` index.js ` before ` react-native-paper-dates ` is used.
60- Currently we only have en/nl/pl/pt translations but it's really easy to add one extra since it are only some labels and error messages.
60+ Currently we have en/nl/de /pl/pt translations but it's really easy to add one extra since it are only some labels and error messages.
6161
6262``` tsx
6363// e.g in your index.js
6464import {
6565 // en,
6666 // nl,
67+ // de,
6768 // pl,
69+ // pt,
6870 enGB ,
6971 registerTranslation ,
7072} from ' react-native-paper-dates'
7173// registerTranslation('en', en)
7274// registerTranslation('nl', nl)
7375// registerTranslation('pl', pl)
7476// registerTranslation('pt', pt)
77+ // registerTranslation('de', de)
7578registerTranslation (' en-GB' , enGB )
7679```
7780
Original file line number Diff line number Diff line change @@ -12,3 +12,4 @@ export { default as en } from './translations/en'
1212export { default as pl } from './translations/pl'
1313export { default as pt } from './translations/pt'
1414export { default as enGB } from './translations/enGB'
15+ export { default as de } from './translations/de'
You can’t perform that action at this time.
0 commit comments