From: <hri...@ru...> - 2006-03-21 10:14:33
|
Since something with the encoding of my mail went wrong, once again the draft (using UTF-8). Sorry for the inconvenience ... Hey folks, I am currently implementing a specific web application on the basis of TM4Web. I am facing the following problem: The underlying topic map contains topics that have both an English and a German base name. I set their scopes to 'en' resp. 'de' so that they correspond to the country codes. Goal: Depending on the locale of the client=E2=80=99s system, the correct base na= me should be shown. Idea: There is a method 'addPreferredTheme(Topic theme)' in the TopicNameExtractor-Class that I have been trying to use to solve that problem. Question: Is there a way to simply say like: TopicNameExtractor m_nameExtractor =3D new TopicNameExtractor(); m_nameExtractor.addPreferredTheme(current locale); How can I provide the current locale as an argument? Thanks for any help, Holger |