sexibytes / sexiauditor

SexiAuditor is a vSphere centric audit appliance.
6 stars 1 forks source link

Support for multilingual text by adding gettext support and lang files #2

Closed vmdude closed 8 years ago

vmdude commented 8 years ago

It could be nice to support several language files.

Adding gettext support and lang files can achieve this, we should take a look at it.

vmdude commented 8 years ago

Right now, locale files are only used for checks title and description

vmdude commented 8 years ago

New public class function getLocaleText created to retrieve text based on language defined in option.

Now we can extract all hard-coded text to fill the language file.