Nagios Core Web Interface Language Translation

An open discussion forum for obtaining help with Nagios Core. Nagios Core users of all experience levels are welcome here. Subforum have been created for the discussion of Nagios Core and Nagios Plugin development.

NOTE: The SourceForge.net mailing lists have been deprecated in favor of this forum in order to expedite support and provide additional features not available on the old mailing list.

Nagios Core Web Interface Language Translation

Postby bayram » Sat Mar 10, 2018 7:31 pm

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
bayram
 
Posts: 1
Joined: Sat Mar 10, 2018 7:23 pm

Re: Nagios Core Web Interface Language Translation

Postby mcapra » Mon Mar 12, 2018 9:01 am

There are some guidelines provided for Nagios plugins:
https://nagios-plugins.org/doc/guidelines.html#TRANSLATIONSDEVELOPERS

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/nagioscore/blob/6f4d98c8eb2b8cbf3440cf3c7538f7e4c32d1fbb/cgi/status.c#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/nagiosxi/docs/Contributing-To-Nagios-Translations.pdf
Former Nagios employee
http://www.mcapra.com/
User avatar
mcapra
 
Posts: 3398
Joined: Thu May 05, 2016 3:54 pm

Re: Nagios Core Web Interface Language Translation

Postby npolovenko » Mon Mar 12, 2018 4:42 pm

I think @mcapra's answer pretty much covered everything. Let me know if you have any other questions for us so far?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
npolovenko
Support Tech
 
Posts: 2045
Joined: Mon May 15, 2017 5:00 pm


Return to Nagios Core

Who is online

Users browsing this forum: No registered users and 9 guests