Centreon: Some Translate word no valid in centreon-web

Created on 4 Jul 2018  ·  10Comments  ·  Source: centreon/centreon

  • Centreon Web version: centreon-web-2.8.24

  • Centreon Engine version: centreon-engine-1.8.1-1

  • Centreon Broker version: 3.0.14

  • OS: CentOS 7.5

  • I want to translate centreon to chinese.But i find some page can not to translate, For example: in login page. i translate Login: to 用户名: Password to 密码 Connect to 登陆 but it's no valid
    image
  • some word can not find in message.po
    image
  • Thanks for reply
kinbug prioritminor

All 10 comments

Hi @zheddiewen,

Did you follow this procedure to translate Centreon?

Regards,

  • Hello @lpinsivy
  • Yes I follow this tutorial

Can you send me your messages.po file?

I found the issue, on tsmarty2centreon.php from 'centreon-translation.zip' please change line 50:

$extensions = array('tpl', 'ihtml');

to:

$extensions = array('tpl', 'ihtml', 'html');

  • Thank for your help @lpinsivy

Hi @zheddiewen,

If you wish us to integrate your translation into Centreon, the last section of the procedure describes how to do it.

We would love to share your translation with he community and assist you if you need any help with that.

Regards,

@sbrizini Thanks, I will share the translation with the community!

@sbrizini How can i push translate to the repo https://github.com/centreon/centreon-translations.git? Could you give me privileges? Thanks

Hi @zheddiewen ,

You can't push your translation into the project.
You have to clone our project into your own github, add your translation and ask for a pull request from our github.

Here's an excerpt from the procedure:

Participate to Centreon project
Once your translation is up-to-date, you can ask to the Centreon team to add your translation to Centreon project. This will allow for all person using Centreon to have access to your translation on their Centreon platform.

Create an account on GitHub
Fork centreon/centreon project on GitHub
Add your translated *.mo and *.po files to lang//LC_MESSAGES directory
Commit your change on your project
Create a pull request on centreon/centreon project
We will add your translation to Centreon.

Thank you for your help!

@sbrizini I have created a pull request on centreon/centreon project.

Was this page helpful?
0 / 5 - 0 ratings