From: John A. T. <ja...@ja...> - 2006-07-11 20:27:24
|
brett lentz wrote: >Of course. I was more meaning things like the many static strings >that we use on buttons and labels (e.g. "ok" and "done") or static >numbers like SQRT3 that are duplicated across the GUI files, etc. > > Speaking of strings, what is the plan for localization? I have always used GNU gettext myself, but I am not sure how that works with the Java approach (even though I see there is a port of gettext to Java). If we aren't using something like that, then perhaps isolating all the UI strings into a single class would make it easier to localize, perhaps even using ClassLoader to load the appropriate one from a preference setting. It's too bad Sun didn't include java.lang.Math.SQRT3 etc, and that you can't easily add constant definitions to a class. -- John A. Tamplin ja...@ja... 770/436-5387 HOME 4116 Manson Ave Smyrna, GA 30082-3723 |