[Yanel-dev] Unset the user language
Michael Wechner
michael.wechner at wyona.com
Mon Jun 7 15:48:53 CEST 2010
Hi
The user interface currently has the two methods:
User.getLanguage()
User.setLanguage(String)
but I am now dealing with a usecase where one wants to unset the
language, such that again
the browser rules.
One possibility would be to do this implicitely, e.g.
User.setLanguage(null)
but I am concerned that this could also happen in case of an error or to
introduce a new method, e.g.
User.unsetLanguage()
WDYT?
Thanks
Michi
More information about the Yanel-development
mailing list