Search code examples
eclipseubuntueclipse-juno

-Duser.language=zh doesn't work in ecilpse JUNO


I use ubuntu 12.04 64 bits with locale en_US.UTF-8 (I muse use english locale). The default key binding content assist in ecilpse is ctrl+spacebar. I want to change it to alt+/ because ctrl+spacebar is used to activate the chinese input method.

In previous eclipse version, I add "-Duser.language=zh" in the bottom of eclipse.ini, and ecilpse will change the content assist key shortcuts to alt+/. However, in the latest eclipse (4.2 juno), it takes no effects.

Any idea? Thanks.


Solution

  • Instead of using -Duser.language=zh in eclipse.ini, just before the --launcher argument add the following options:

    -nl
    zh_CN