Page 1 of 1

Nagios Core Web Interface Language Translation

Posted: Sat Mar 10, 2018 7:31 pm
by bayram
Hi All,

I want to translate and use Nagios Core 4.3.4 version web interface with Turkish language.
Is it possible with creating locale .po file and compiling as .mo? Or do you have any suggesstion?

Thanks

Re: Nagios Core Web Interface Language Translation

Posted: Mon Mar 12, 2018 9:01 am
by mcapra
There are some guidelines provided for Nagios plugins:
https://nagios-plugins.org/doc/guidelin ... DEVELOPERS

But a lot of the language in the CGIs, which is essentially the entire user interface, have hard-coded text. Here's some examples:
https://github.com/NagiosEnterprises/na ... #L311-L344

This makes localization/translation tricky. You could raise a GitHub issue if you'd like to see better support in the future.

Though it is worth mentioning Nagios XI's GUI supports localization via .po files and some simple settings in the GUI. There's official documentation for contributing:
https://assets.nagios.com/downloads/nag ... ations.pdf

Re: Nagios Core Web Interface Language Translation

Posted: Mon Mar 12, 2018 4:42 pm
by npolovenko
I think @mcapra's answer pretty much covered everything. Let me know if you have any other questions for us so far?