From: Mikael N. <mi...@na...> - 2002-10-11 13:46:02
|
Cool! I also think that properyfiles is the way to go (I assume you mean PropertyResourceBundle, right?) Regarding finding all string, here's a start (GNU tools assumed): find . -name "*.java" | xargs grep -n '".*"'| sed -e 's/^\(.*java:[0-9]*:\).*"\(.*\)".*$/\1 \2/g' It won't catch several strings on one line, or strings spanning several lines, unfortunately. Was that the kind of script you wanted? Great work! I'll have a look shortly. /Mikael On Fri, 2002-10-11 at 15:04, Encolpe DEGOUTE wrote: > Hi, > i have merge our three branches of src. > The src-de is rename in src and the makefile is up to date. > Now, i will work on internationalisation and i have to choose between to > method: > propertyfile and languageBundleClass > I think that porpertyfiles are more useful for future translation. > One last thing: have you any script for getting all string between "",=20 > maine is buggy. >=20 > --=20 > Encolpe DEGOUTE > http://gibbeon.ens-lyon.fr/Portail > ENS-Lyon, service PR@TIC 04 72 72 87 79 --=20 Plus =E7a change, plus c'est la m=EAme chose. |