plugin-SecurityInfo icon indicating copy to clipboard operation
plugin-SecurityInfo copied to clipboard

Add a second language with "en" by default

Open ZerooCool opened this issue 6 years ago • 0 comments

With this option, you can translate phpsecinfo with a second language

Example, add "it"

If a test code was translate with a new language line, "it" , then, the new language "it" define by defaut work. If "it" is define by defaut, but, a test code not translate, then, "en" work.

PhpSecInfo can now use a lot of language : fr / en it / en de / en ...

Select your language and translate all test language line ( 3 or 4 line ) with the new language code. Else, english work always.

https://github.com/ZerooCool/phpsecinfo/commit/f74e518fcf708b2f65211f6d08c400ae4f65a3c2

  • i add this variable in Test.php before the code for translation.
    public $langue_defaut;
    public $langue_definie;

ZerooCool avatar Aug 15 '19 02:08 ZerooCool