Question: (i18n) How to make Galaxy display in Chinese?
gravatar for ishenweiyan
9 months ago by
ishenweiyan0 wrote:


I'm trying to set my galaxy into Chinese recently.

I found "zh" is supported under the galaxy directory of "locale", it looks like this:

├── en
│       ├──
│       ├── ginga.po
│       ├──
│       └── tools.po
├── ginga.pot
├── ja
│       ├──
│       ├── ginga.po
│       ├──
│       └── tools.po
├── tools.pot
└── zh
        ├── ginga.po
        └── tools.po

so I stopped the running galaxy service on the localhost and tried:

# export LANG="zh_CN.UTF-8"

But the webpage is still English. And I can find only a little documents about setting galaxy language.

Does anyone know how to display galaxy in Chinese now? Are there any documents ?

Thank you.


development galaxy local • 240 views
ADD COMMENTlink modified 9 months ago by Dannon Baker3.7k • written 9 months ago by ishenweiyan0
gravatar for Dannon Baker
9 months ago by
Dannon Baker3.7k
United States
Dannon Baker3.7k wrote:

Hi Steven,

It has been a while since the Chinese translation has been updated (though we'd welcome the help if you're interested!), and the coverage is currently lacking. The primary interface actually uses the translations you will find at <galaxy_dir>/client/galaxy/scripts/nls/zh (for Chinese).

The language the Galaxy interface displays depends on the client browser settings, rather than the system galaxy user configuration. For example, in Firefox, I can go to Preferences -> Language and Appearance, and swap to 'zh', and I see at least a little bit of translation in an example interval file: 9 regions 格式 interval, 数据库? .

If you're interested in helping translate more of the interface, I'd be happy to help you get started!

ADD COMMENTlink written 9 months ago by Dannon Baker3.7k

Dannon Baker,thanks a lot.

I edited <galaxy_dir>/client/galaxy/scripts/nls/zh/locale.js for some values, then run cd <galaxy_dir>; make client, it works.

I am very interested in the Chinese translation. Please let me know what I could do for galaxy.

ADD REPLYlink modified 9 months ago • written 9 months ago by ishenweiyan0
Please log in to add an answer.


Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 16.09
Traffic: 144 users visited in the last hour