Re: I18N Tag Library
"Vikram Reddy" <[email protected]>
| Newsgroups | gmane.comp.jakarta.taglibs.user |
|---|---|
| Message-ID | <[email protected]> |
I have very labels which are displayed on the UI and they are set in my java code (back end bean), not sure how to make those labels i18n complaint.. On 5/3/07, José Navas <[email protected]> wrote: > > Sorry, you are right. > > The message tag in i18n does the same thing. > > What is that you want to do? Is it to avoid the string "label.name" in > the code? Or is it know how to create the bundles for each language? > > > > On 5/3/07, Vikram Reddy <[email protected]> wrote: > > > > I am not using jstl taglib, I am using i18n tag library from jakartha > .... > > > > On 5/3/07, José Navas <[email protected]> wrote: > > > > > > Do you mean internationalize them? > > > > > > If this is the case, one way to do it may be using resource files for > > the > > > labels > > > in your bean (one resource file per language), and use the tag message > > > from > > > the fmt jstl taglib. > > > > > > Hope this helps > > > Navas > > > > > > On 5/3/07, Vikram Reddy <[email protected]> wrote: > > > > > > > > Did any one use I18N Tag Library from Apache, I have a question on > > > that. > > > > > > > > I have some of the labels hardcoded in the java bean whcih are > > displayed > > > > on > > > > the UI, not sure how I can convert them, Can any one throw some > light > > on > > > > this please.. I would really appreciate that. > > > > in my jsp page, I am simply using this tag : <i18n:message key=" > > > label.name > > > > " > > > > /> .. > > > > > > > > - V > > > > > > > > > >