I18N Support ?

I thought IDEA5 would have I18N Support.
I'm testing RC1 and can not find anything.
Where is it hidden ?

mfg
Carsten

7 comments
Comment actions Permalink

It's an inspection, "Hardcoded Strings", under "Internationalization Issues". The fix for it places the string in a resource bundle. Haven't used it my self, as none of my work needs i18n.

--Dave Griffith

0
Comment actions Permalink

Dave Griffith wrote:

It's an inspection, "Hardcoded Strings", under "Internationalization
Issues". The fix for it places the string in a resource bundle.
Haven't used it my self, as none of my work needs i18n.


Any idea if this inspection also triggers on the .form files used by the
GUI builder (which was sadly, grosely, neglected compleately in this
release).

0
Comment actions Permalink

Dave Griffith schrieb:

It's an inspection, "Hardcoded Strings", under "Internationalization Issues". The fix for it places the string in a resource bundle. Haven't used it my self, as none of my work needs i18n.

--Dave Griffith


How can i "externalize strings" ?
Can i see the values of my externalized strings directly in the editor
window ?


mfg
Carsten

0
Comment actions Permalink

Can i see the values of my externalized strings directly in the editor
window ?


The ones in the (default) English, the German or the Russian locale?

Tom

0
Comment actions Permalink

Thomas Singer schrieb:
>> Can i see the values of my externalized strings directly in the editor
>> window ?


The ones in the (default) English, the German or the Russian locale?

Tom


The one i define in the settings.
This is how Eclipse works.

mfg
Carsten

0
Comment actions Permalink

How can i "externalize strings" ?


Enable "Hard coded string literal inspection" and use quick fix "I18nize"
quickfix to place the string literal in properties file.

Can i see the values of my externalized strings directly in the editor
window ?


Yes you can. Press Ctrl-shift-I (Show implementations) on the I18nized
string literal.

>
>

mfg
Carsten




--
regards,
--
Alexey Kudravtsev
Software Developer
JetBrains, Inc, http://www.jetbrains.com
"Develop with pleasure!"


0
Comment actions Permalink

Alexey Kudravtsev (JetBrains) schrieb:
>>How can i "externalize strings" ?


Enable "Hard coded string literal inspection" and use quick fix "I18nize"
quickfix to place the string literal in properties file.

This is cool.
Especially for aplications with >10000 Strings ;)
Do i really have to externalize every string by oneself ?

mfg
Carsten

0

Please sign in to leave a comment.