Question: (i18n) How to make Galaxy display in Chinese?
0
gravatar for ishenweiyan
12 months ago by
China/Guangzhou
ishenweiyan0 wrote:

Hi,all

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
│   └── LC_MESSAGES
│       ├── ginga.mo
│       ├── ginga.po
│       ├── tools.mo
│       └── tools.po
├── ginga.pot
├── ja
│   └── LC_MESSAGES
│       ├── ginga.mo
│       ├── ginga.po
│       ├── tools.mo
│       └── tools.po
├── tools.pot
└── zh
    └── LC_MESSAGES
        ├── ginga.mo
        ├── ginga.po
        ├── tools.mo
        └── tools.po

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

# export LANG="zh_CN.UTF-8"
# run.sh

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.

steven

development galaxy local • 326 views
ADD COMMENTlink modified 12 months ago by Dannon Baker3.7k • written 12 months ago by ishenweiyan0
1
gravatar for Dannon Baker
12 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 12 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 12 months ago • written 12 months ago by ishenweiyan0
Please log in to add an answer.

Help
Access

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