Skip to content

Commit

Permalink
App Example: Include German (de) translation
Browse files Browse the repository at this point in the history
Closes #488
Ref #481
  • Loading branch information
jzaefferer authored and rxaviers committed Aug 27, 2015
1 parent f686a27 commit a9db3ce
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
17 changes: 17 additions & 0 deletions examples/app-npm-webpack/messages/de.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"de": {
"intro-1": "Verwenden Sie Globalize um Ihre Anwendung zu internationalisieren.",
"number-label": "Zahl",
"currency-label": "Währung",
"date-label": "Datum",
"relative-time-label": "Relative Zeit",
"message-1": "Ein Beispieltext der eine Mischung aus Zahl \"{number}\", Währung \"{currency}\", Datum \"{date}\", und relativer Zeit \"{relativeTime}\" verwendet.",
"message-2": [
"Ein Beispieltext mit Unterstützung von Plural Formen: ",
"{count, plural,",
" one {Sie haben noch eine Aufgabe}",
" other {Sie haben noch # verbliebende Aufgaben}",
"}."
]
}
}
2 changes: 1 addition & 1 deletion examples/app-npm-webpack/webpack-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ module.exports = {
new GlobalizePlugin({
production: options.production,
developmentLocale: "en",
supportedLocales: [ "en", "es", "pt", "zh" ],
supportedLocales: [ "de", "en", "es", "pt", "zh" ],
messages: "messages/[locale].json",
output: "i18n/[locale].[hash].js"
})
Expand Down

0 comments on commit a9db3ce

Please sign in to comment.