mirror of
https://github.com/CISOfy/lynis.git
synced 2025-07-31 01:34:23 +02:00
Updated Creating a Lynis translations (markdown)
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:
|
Detect which language and locale you are using:
|
||||||
`echo $LANG`
|
`echo $LANG`
|
||||||
|
|
||||||
`echo $LANGUAGE`
|
`echo $LANGUAGE`
|
||||||
|
|
||||||
Now determine what Lynis detected or is configured for: lynis show 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).
|
|
||||||
|
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 1. To start the translation, clone the GitHub project.
|
||||||
* Step 2. Go to db/languages
|
* Step 2. Go to db/languages
|
||||||
|
Loading…
x
Reference in New Issue
Block a user