I don't know why. Zenoss official documents do not seem to involve international content. This article gives a brief summary of how Zenoss can be written in Chinese.
Basic Chinese
Http://code.google.com/p/zenforge/wiki/ZenossI18n here contains the basic Chinese package, the Chinese package completed about 60% of the Chinese work, here also describes the basic principles of the Chinese, the following is a reference to the steps and principles
Chinese steps
The Chinese version has been basically completed, and the domain is mainly written into zenoss files. Download the zenoss Chinese file and decompress it to $ ZENHOME/Products/ZenUI3/locales/. Then restart zope.
Note:Currently, zenoss does not fully support internationalization.
Chinese principles
In the file $ ZENHOME/Products/Zuul/utils. in py, the first row contains ZuulMessageFactory = MessageFactory ('zenoss'). Here zope is referenced. the MessageFactory class in the i18nmessageid module defines a domain as zenoss, which is related to the combination of I18n. In the 22nd line of $ ZENHOME/Products/Zuul/search/routers. py, It is abbreviated as _ t. It will be mainly related to _ t in the future. From Products. Zuul. utils import ZuulMessageFactory as _ t
Supplement Chinese
As the Chinese package mentioned above is not completely Chinese, you need to add Chinese to some content. The specific steps are as follows:
1. Open/opt/zenoss/Products/ZenUI3/locales/zh/LC_MESSAGES/zenoss. po.
2. For more information, see the existing Chinese format.
3. Switch to the zenoss user and run msgfmt-o zenoss.mo zenoss. po.
4. Restart zenoss.
Zookeeper