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