From 482652d839ad90b2c398a15085059088ed4f205c Mon Sep 17 00:00:00 2001 From: Jamie Date: Fri, 27 Oct 2017 09:47:47 +0100 Subject: [PATCH] Created Translations (markdown) --- Translations.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 Translations.md diff --git a/Translations.md b/Translations.md new file mode 100644 index 0000000..a1dce22 --- /dev/null +++ b/Translations.md @@ -0,0 +1,24 @@ +You can find all the translations in the following location: +https://github.com/tidusjar/Ombi/tree/DotNetCore/src/Ombi/wwwroot/translations + +The format of the files is `{lang}.json` + +Inside the translation file it is all in `json` format and should be easy to read and edit. + +Example: + +``` +{ + "Login": { + "SignInButton": "Sign in", + "UsernamePlaceholder":"Username", + "PasswordPlaceholder":"Password", + "RememberMe":"Remember Me", + "ForgottenPassword":"Forgot your password?" + } +} +``` + +The top level property will determine what page this translation is on, in the case above it is the Login page. +The children properties then is the content on those pages e.g. `SignInButton`, this is the button on the Login page that you press to Login. +