Skip to content

Add a second language with "en" by default #40

@ZerooCool

Description

@ZerooCool

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.

ZerooCool/phpsecinfo@f74e518

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions