You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ambari.apache.org by "Liu, Ming (HPIT-GADSC)" <mi...@hp.com> on 2015/01/19 09:45:05 UTC
can Ambari display different language in the GUI?
Hello all,
I am new to Ambari. I am wondering if user can switch different display language in Ambari GUI? Specifically, I want to know if it can support Chinese display.
I cannot find any menu item to switch language, and I cannot find any document about this. So a kindly reply will help me a lot!
Thanks,
Ming
Re: can Ambari display different language in the GUI?
Posted by jun aoki <ja...@apache.org>.
1. web ui seems to be able to replace with other languages possibly by
replacing the message file. (never tested though afaik)
https://github.com/apache/ambari/blob/trunk/ambari-web/app/messages.js
I don't believe this can be done at runtime (aka web ui toggle) nor the
ambari build picks up smartly either.
e.g.
if you had messages_zh_CN.js at the folder but ambari build command (mvn)
does not support a switch to pick up other languages.
2. ambari-server seems pretty much hard coded English.
https://github.com/apache/ambari/blob/trunk/ambari-server/sbin/ambari-server
https://github.com/apache/ambari/blob/trunk/ambari-server/src/main/python/ambari-server.py
On Mon, Jan 19, 2015 at 12:45 AM, Liu, Ming (HPIT-GADSC) <mi...@hp.com>
wrote:
> Hello all,
>
>
>
> I am new to Ambari. I am wondering if user can switch different display
> language in Ambari GUI? Specifically, I want to know if it can support
> Chinese display.
>
> I cannot find any menu item to switch language, and I cannot find any
> document about this. So a kindly reply will help me a lot!
>
>
>
> Thanks,
>
> Ming
>
--
-jun