I18n issues

I have some questions about internationalization.
I know that there is a refactoring 'Internationalize'.
This works fine for a single string.
Are there some automations for this task (like eclipse has)?
I have a project with many java files and now i want to expand the
existing property-file(s) with all strings that were not
internationalized yet.
Is this possible?
Another issue:
I want to delete all no longer used properties from the property-file(s)
in one step.
Is this possible with IntelliJ?
Or is there a plugin for these tasks?

Carsten

3 comments
Comment actions Permalink

Hello Carsten,

I have some questions about internationalization.
I know that there is a refactoring 'Internationalize'.
This works fine for a single string.
Are there some automations for this task (like eclipse has)?
I have a project with many java files and now i want to expand the
existing property-file(s) with all strings that were not
internationalized yet.
Is this possible?


No, because this would generate a huge amount of garbage in your .properties
file (strings which don't need to be internationalized).

Another issue:
I want to delete all no longer used properties from the
property-file(s)
in one step.
Is this possible with IntelliJ?


There's an inspection to detect unused properties, and you can apply its
quickfix via Analyze | Inspect Code.

--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0
Comment actions Permalink

Am 11.02.2010 18:52, schrieb Dmitry Jemerov:

Hello Carsten,

>
>> I have some questions about internationalization.
>> I know that there is a refactoring 'Internationalize'.
>> This works fine for a single string.
>> Are there some automations for this task (like eclipse has)?
>> I have a project with many java files and now i want to expand the
>> existing property-file(s) with all strings that were not
>> internationalized yet.
>> Is this possible?
>

No, because this would generate a huge amount of garbage in your
.properties file (strings which don't need to be internationalized).


Eclipse gives you a full list of all strings that could be
internationalized. Then the user can select the ones that should really
be internationalized. All others gets NON_NLS so that they will not be
suggested the next time.

How does other users internationalize large projects without automation?
Are there other tools?

Carsten

0
Comment actions Permalink

http://www.fmtweld.com/product/detail-20159.html
http://www.tptz.net.cn/ http://www.gjsw120.com/ http://www.gjsw120.com/jrsyzl.html http://www.gjsw120.com/jrsyzl.html http://www.gjsw120.com/ http://www.gjsw120.com/ http://www.gjsw120.com/ http://www.gjsw120.com/ http://www.pana-vision.com/ http://www.pana-vision.com/ http://www.fmtweld.com/ http://www.fmtweld.com/product/detail-20208.html http://www.hcx.cn/http://www.hcx.cn/ http://www.hcx.cn/ http://www.hcx.cn/xgxqgj.html http://www.hcx.cn/xgxqgj.html http://www.hcx.cn/xgx.html http://www.hypercut.com.cn/ http://www.hypercut.com.cn/http://www.hypercut.com.cn/http://www.hypercut.com.cn/http://www.pana-vision.com/about/channel/default.shtmlhttp://www.pana-vision.com/http://www.fmtweld.com/http://www.hypercnc.cn/http://www.hypercnc.cn/athena/offerlist/hypercnc-sale-1-true-953438.htmlhttp://www.hypercnc.cn/athena/offerlist/hypercnc-sale-1-true-953438.html http://www.gjsw120.com/pztp.html http://www.gjsw120.com/1.htm http://www.gjsw120.com/1.htm http://www.gjsw120.com/1.htm http://www.gjsw120.com/1.htm http://www.gjsw120.com/1.htm http://www.gjsw120.com/1.htm http://www.gjsw120.com/2.htm http://www.gjsw120.com/ http://www.gjsw120.com/ http://www.gjsw120.com/ http://www.gjsw120.com/ http://www.gjsw120.com/6.htm  http://www.gjsw120.com/pz.asp.html http://www.gjsw120.com/pz.asp.html http://www.gjsw120.com/pz.asp.html http://www.gjsw120.com/pz.asp.html  http://www.gjsw120.com/jr/1.htm http://www.gjsw120.com/jr/1.htm http://www.gjsw120.com/jr/1.htmhttp://www.gjsw120.com/jr/1.htm http://www.gjsw120.com/jr/1.htmhttp://www.gjsw120.com/jr/1.htm http://www.gjsw120.com/jr/6.htm http://www.gjsw120.com/jr/6.htm http://www.gjsw120.com/jr/6.htm http://www.gjsw120.com/jr/6.htm http://www.gjsw120.com/jr/6.htm http://www.gjsw120.com/jr/6.htm http://www.gjsw120.com/sytp.html http://www.gjsw120.com/jr/9.htmhttp://www.gjsw120.com/sytp.html http://www.shinvoice.com/index.asp http://www.glassmarble.cn/temperedglass.htmlhttp://www.glassmarble.cn/laminatedglass.htmlhttp://www.glassmarble.cn/insulatedglass.htmlhttp://www.glassmarble.cn/marblecompositeslab.htmlhttp://www.zjmhjx.com/en/company.asphttp://www.zjmhjx.com/en/company.asphttp://www.zjmhjx.com/en/company.asphttp://www.zjmhjx.com/en/company.asphttp://www.zjsfg.net our http://www.christianlouboutinlive.com/ supply http://www.christianlouboutinlive.com/ is http://www.christianlouboutinlive.com/ or http://www.christianlouboutinlive.com/ are u fine http://www.christianlouboutinlive.com/autumn-collection-c-5.html or http://www.christianlouboutinlive.com/classic-collection-c-7.htmlsome http://www.christianlouboutinlive.com/christian-louboutin-satin-anemone-pumps-in-black-p-343.html http://www.christianlouboutinlive.com/pumps-c-2.htmljust for http://www.christianlouboutinlive.com/pumps-c-2.html and http://www.christianlouboutinlive.com/pumps-c-2.html.we also heave http://www.christianlouboutinlive.com/pumps-c-2.html and http://www.christianlouboutinlive.com/pumps-c-2.htmlour product as follows :http://www.christianlouboutinlive.com/sandals-c-1.html|http://www.christianlouboutinlive.com/sandals-c-1.html|http://www.christianlouboutinlive.com/sandals-c-1.html|http://www.christianlouboutinlive.com/sandals-c-1.html|http://www.christianlouboutinlive.com/short-boots-c-3.html|http://www.christianlouboutinlive.com/short-boots-c-3.html|http://www.christianlouboutinlive.com/specials-c-8.html|http://www.christianlouboutinlive.com/tall-boots-c-4.html|http://www.christianlouboutinlive.com/tall-boots-c-4.html|http://www.christianlouboutinlive.com/tall-boots-c-4.html |http://www.christianlouboutinlive.com/tall-boots-c-4.html some  http://www.luckshoping.com/ supply http://www.luckshoping.com/ or http://www.luckshoping.com/ and  http://www.luckshoping.com/ are u fine http://www.luckshoping.com/autumn-collection-c-5.html or http://www.luckshoping.com/classic-collection-c-7.htmlsome http://www.luckshoping.com/christian-louboutin-satin-anemone-pumps-in-black-p-343.html http://www.luckshoping.com/pumps-c-2.htmljust for http://www.luckshoping.com/pumps-c-2.html and http://www.luckshoping.com/pumps-c-2.html.we also heave http://www.luckshoping.com/pumps-c-2.html and http://www.luckshoping.com/pumps-c-2.htmlour product as follows :http://www.luckshoping.com/sandals-c-1.html|http://www.luckshoping.com/sandals-c-1.html|http://www.luckshoping.com/sandals-c-1.html|http://www.luckshoping.com/sandals-c-1.html|http://www.luckshoping.com/short-boots-c-3.html|http://www.luckshoping.com/short-boots-c-3.html|http://www.luckshoping.com/specials-c-8.html|http://www.luckshoping.com/tall-boots-c-4.html|http://www.luckshoping.com/tall-boots-c-4.html|http://www.luckshoping.com/tall-boots-c-4.html |http://www.luckshoping.com/tall-boots-c-4.html
---
Original message URL: http://www.jetbrains.net/devnet/message/5256729#5256729

0

Please sign in to leave a comment.