Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ZerooCool opened this issue Aug 15, 2019 · 0 comments
Open

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

ZerooCool opened this issue Aug 15, 2019 · 0 comments

Comments

@ZerooCool
Copy link
Contributor

ZerooCool commented Aug 15, 2019

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;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant