Updated Creating a Lynis translations (markdown)

Michael Boelen 2016-11-21 10:49:17 +01:00
parent 7e28e9a1f2
commit d614d84eca

@ -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