Re: [galaxy-dev] (i18n) How to make Galaxy display in Japanese?

2011-10-16 Thread James Taylor
Excerpts from Peter Cock's message of 2011-10-10 16:36:49 +: > Is it possible for tool wrappers to embed alternative language text? It would definitely be preferable if there was a way to include translated text with tools rather than in the main distribution. However, it also seems like it s

Re: [galaxy-dev] (i18n) How to make Galaxy display in Japanese?

2011-10-11 Thread Greg Von Kuster
I don't think our locale support works with Cheetah, but it's been quite some time since I've worked in this area, so I may be wrong. Most of the magic happens in the GalaxyWebTransaction.setup_i18n() method in ~/lib/galaxy/web/framework.__init__.py which is mako centric. It shouldn't be too

Re: [galaxy-dev] (i18n) How to make Galaxy display in Japanese?

2011-10-10 Thread Hanfei Sun
It works when I set Japanese as the preferred language. I saw these lines in ginga.po under the folder galaxy-dist/locale/jp/LC_MESSAGES #: tools/**.xml #: tool_conf.xml msgid "Get Data" msgstr "データ取得" msgid "Get ENCODE Data" msgstr "ENCODEデータ取得" msgid "ENCODE Tools" msgstr "ENCODEツール" But

Re: [galaxy-dev] (i18n) How to make Galaxy display in Japanese?

2011-10-10 Thread Greg Von Kuster
I don't think our locale support works with Cheetah, but it's been quite some time since I've worked in this area, so I may be wrong. Most of the magic happens in the GalaxyWebTransaction.setup_i18n() method in ~/lib/galaxy/web/framework.__init__.py which is mako centric. It shouldn't be too

Re: [galaxy-dev] (i18n) How to make Galaxy display in Japanese?

2011-10-10 Thread Peter Cock
On Mon, Oct 10, 2011 at 2:39 PM, Greg Von Kuster wrote: > > To clarify a bit more, there are currently only 2 languages > supported in the Galaxy distribution; English and Japanese ... Is it possible for tool wrappers to embed alternative language text? Peter

Re: [galaxy-dev] (i18n) How to make Galaxy display in Japanese?

2011-10-10 Thread Greg Von Kuster
To clarify a bit more, there are currently only 2 languages supported in the Galaxy distribution; English and Japanese (note the 'en' and 'ja' subdirectories in the 'locale' directory).  Setting your preferred language in your browser to Japanese will only render some Galaxy content in Japanese.  T

Re: [galaxy-dev] (i18n) How to make Galaxy display in Japanese?

2011-10-10 Thread Daniel Blankenberg
Hi HF, Limited support is available. In order to view Galaxy in other languages, you need to set the language preference in your browser to e.g. Japanese. Chrom, for example, allows you to set up a priority ordered list of prefered languages, so you'll have to set Japanese to the top of the li

[galaxy-dev] (i18n) How to make Galaxy display in Japanese?

2011-10-09 Thread 孙翰菲
Hi,all I'm trying to translate galaxy into Chinese recently. I found there's a directory "locale" under the galaxy directory, it looks like this: . |-- en | `-- LC_MESSAGES | |-- ginga.mo | |-- ginga.po | |-- tools.mo | `-- tools.po |-- ginga.pot |-- ja | `-- LC_MESSA