From: Holger <hri...@ru...> - 2006-03-20 11:18:20
|
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 =E2=80=9Cen=E2=80=9D resp. = =E2=80=9Cde=E2=80=9D so that they correspond to the country codes.=20 Goal:=20 Depending on the locale of the client=E2=80=99s system, the correct base = name should be shown.=20 Idea:=20 There=E2=80=99s a method =E2=80=9CaddPreferredTheme(Topic = theme)=E2=80=9D in the TopicNameExtractor-Class that I=E2=80=99ve been = trying to use to solve that problem.=20 Question: Is there a way to simply say like: =20 TopicNameExtractor m_nameExtractor =3D new TopicNameExtractor(); m_nameExtractor.addPreferredTheme(current locale); ? =E2=86=92 How can I provide the current locale as an argument? Thanks for any help, Holger ------------------------------------------------ Holger Ridinger B2, 5 68159 Mannheim GERMANY Phone: 0621-1815529 Mobile: 0177-3020959 Email: h.r...@gm... |