Skip to content
Snippets Groups Projects
Commit 1f10f9e0 authored by Reiter, Christoph's avatar Reiter, Christoph :snake:
Browse files

language-select: refresh translations

parent e79f2ff4
No related branches found
No related tags found
No related merge requests found
...@@ -5,12 +5,14 @@ module.exports = { ...@@ -5,12 +5,14 @@ module.exports = {
output: './', output: './',
options: { options: {
debug: false, debug: false,
sort: true,
removeUnusedKeys: true, removeUnusedKeys: true,
func: {list: ['i18n.t', '_i18n.t']}, func: {list: ['i18n.t', '_i18n.t']},
lngs: ['en','de'], lngs: ['en','de'],
resource: { resource: {
loadPath: 'src/i18n/{{lng}}/{{ns}}.json', loadPath: 'src/i18n/{{lng}}/{{ns}}.json',
savePath: 'src/i18n/{{lng}}/{{ns}}.json' savePath: 'src/i18n/{{lng}}/{{ns}}.json',
jsonIndent: 4,
}, },
}, },
} }
{ {
"de": "Deutsch", "de": "Deutsch",
"en": "Englisch", "de-action": "Auf Deutsch anzeigen",
"de-action": "Auf Deutsch anzeigen", "demo": "Hallo Welt",
"en-action": "Auf Englisch anzeigen", "en": "Englisch",
"demo": "Hallo Welt" "en-action": "Auf Englisch anzeigen"
} }
{ {
"de": "German", "de": "German",
"en": "English", "de-action": "Switch to German",
"de-action": "Switch to German", "demo": "Hello World",
"en-action": "Switch to English", "en": "English",
"demo": "Hello World" "en-action": "Switch to English"
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment