locales: introduce Internationalization / Locales

* using crate locales

Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de>
This commit is contained in:
2019-10-31 00:58:00 +01:00
parent d5f58f2576
commit 0a9fdbab2a
3 changed files with 29 additions and 2 deletions

15
locales/main.json Normal file
View File

@@ -0,0 +1,15 @@
{
"err.user.not_found": {
"fr": "Utilisateur introuvable: $email, $id",
"de": "Anwender nicht gefunden: $email, $id",
"en": "User not found: $email, $id"
},
"main.start": {
"de": "Programmlogik starten",
"en": "Starting program logic"
},
"parse.arguments": {
"de": "Programmargumente prüfen",
"en": "Parsing arguments"
}
}