Currently all languages are Strings everywhere.
This should be changed.
Languages are two letter codes according to ISO-639 two-letter language code
Probably a special class to handle this is necessary....
Perhaps the same way as the ch.gnostx.XMLTypes are implemented.
------- Additional Comment #1 From M. Guenter 2005-01-09 17:56 -------
In CardSet:
* primaryLanguage
* backsideLanguage
In UserInformation
* preferredLanguage
Best is to stay with String, but all setters, getters and manipulating methods
test it with Locale
http://java.sun.com/j2se/1.4.2/docs/api/java/util/Locale.html
Locale locale=new Locale(str);
return locale.getLanguage();