A
Anonymous user
Hello,
i've watched a little bit the existing tools to help externalize
strings but none of them is really great. Does anybody know if the
described tool below exists?
- in IDE:
* warns about badness of complex string constructs like "at position
" + pos + "."
- juste before compilation (on the fly):
* replace all strings literals ("*") by xxx.yyy.Resources.get(id)
* create a default properties file with { id="*" }
- in a separate tool
* GUI like:
| lang1 | lang2 |
----------------------
| str1 | str2 |
pros:
- you don't need to assign an id for each string (like in Eclipse tool)
- you don't see the ugly call to the resources in you IDE
cons:
- it surely slow down compilation, but it worth it
Does that exists? If no have you any idea why? If you think it's not a
good tool, plz explain why.
TIA
i've watched a little bit the existing tools to help externalize
strings but none of them is really great. Does anybody know if the
described tool below exists?
- in IDE:
* warns about badness of complex string constructs like "at position
" + pos + "."
- juste before compilation (on the fly):
* replace all strings literals ("*") by xxx.yyy.Resources.get(id)
* create a default properties file with { id="*" }
- in a separate tool
* GUI like:
| lang1 | lang2 |
----------------------
| str1 | str2 |
pros:
- you don't need to assign an id for each string (like in Eclipse tool)
- you don't see the ugly call to the resources in you IDE
cons:
- it surely slow down compilation, but it worth it
Does that exists? If no have you any idea why? If you think it's not a
good tool, plz explain why.
TIA