Yes Kalle is right, the real solution for i18n is using a special ResourceBundle. I've used the default ResourceBundle - using .properties files - and that was awsome. It was easy to implement, easy to use, easy to manage.
On 6/9/05, Korhonen, Kalle <[EMAIL PROTECTED]> wrote: > I think you are doing it the wrong way. In a multilingual application, all > the resources should come from a ResourceBundle (in your case, a custom DB > resourcebundle), and you would use the built-in locale support to choose the > correct resourcebundle. Then, you don't need to care whether the localizable > text is in an attribute or a in a text node. > > Kalle > > > -----Original Message----- > > From: Stefan Lischke [mailto:[EMAIL PROTECTED] > > Sent: Thursday, June 09, 2005 6:50 AM > > To: users@myfaces.apache.org > > Subject: Jsf and multilanguage > > > > Hi, > > > > First thumbs up for the myfaces project, we are using it for > > a webadmin. > > I have written an own component derived from the OutputText > > component to use our self developed multilanguage system. So > > i can put a key inside the tags value and the component looks > > the key up in the DB and fills in the right language. > > This works very good. > > > > But now i have a problem, there are some tags, e.g. > > selectItem where i can only put the visible text in an > > attribute (itemValue). Now i cannot use our languageOutputText tag. > > > > Any ideas, what can solve my problem, to also see the right > > language at selectItems? > > > > Thanx for any help > > > > stefan > > > > -- > > Stefan Lischke NOVACOM Gesellschaft für > > Internet Services > > Software Engineering Software Engineering und > > Consulting mbH > > > > Dovestr. 1 fon: +49 30 3980540 fax: +49 > > 30 39805411 > > D-10587 Berlin gsm: +49 171 2367112 > > http://www.novacom.net > > > -- Csík Norbert http://norbert.web.elte.hu/ Programtervező matematikus Trilobita Informatikai Rt. - rendszertervező fejlesztőmérnök ___ keep sm:)ing _________________________ooo__C( O O )L__ooo__ http://www.aion.hu/ - A csik.NET otthona http://www.spreadfirefox.com/ - Rediscover the web Elméletileg nincs különbség az elmélet és a gyakorlat között, gyakorlatilag viszont...