From d614d84eca3b3f81d10cce6bae60b485f4dcf60c Mon Sep 17 00:00:00 2001 From: Michael Boelen Date: Mon, 21 Nov 2016 10:49:17 +0100 Subject: [PATCH] Updated Creating a Lynis translations (markdown) --- Creating-a-Lynis-translations.md | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/Creating-a-Lynis-translations.md b/Creating-a-Lynis-translations.md index 43a36b4..375c000 100644 --- a/Creating-a-Lynis-translations.md +++ b/Creating-a-Lynis-translations.md @@ -1,9 +1,19 @@ +# Translating Lynis + +## Introduction +Translating Lynis is a matter of creating a new language file and translate commonly used text strings. + +## Your current language Detect which language and locale you are using: `echo $LANG` + `echo $LANGUAGE` -Now determine what Lynis detected or is configured for: lynis show language -The two-letter string determines the language and can also be configured in your custom.prf (language=XY). +Now determine what Lynis detected or is configured for: `lynis show language` + +The two-letter string determines the language and can also be configured in your custom.prf (language=XY). By manually forcing the language to your new language, you can test if the translation is working. + +## Translation steps * Step 1. To start the translation, clone the GitHub project. * Step 2. Go to db/languages