Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

whose internationalization features is good to use JSTL or jakarta tags?

 
Ranch Hand
Posts: 130
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
Hi Every body,
Can any body tell me which one is good(in the sense easy and flexible) to implement i18n in my normal(because i have not used any framework) web application..?except these do we have any good API to implement internationalization in my web application..?your response is highly appreciable..

Thanks and Regards
Lokesh

 
Author
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
As you've been told, using the JSTL and format bundles is the easiest way to get I18N in an application that already exists. Do not use Struts 2 just for I18N; you'd need to rewrite your entire application. I simply cannot make this any clearer.
 
lokesh pattajoshi
Ranch Hand
Posts: 130
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
OK thanks.
 
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
Use Spring Framework. This would be my best suggesstion.
 
David Newton
Author
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
Introduce Spring into an already-existing application just for I18N?!
 
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator

Dayasankar Yumkhaibam wrote:Use Spring Framework. This would be my best suggesstion.


Just for internationalization? Surely you jest!
 
Bear Bibeault
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
To answer the question posed in the subject: why would you use a proprietary API when a standard one exists?
 
Ranch Hand
Posts: 77
Android MyEclipse IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
Hi,

There are many frameworks that support internationalization, among which you can adopt struts and spring framework.
struts is used for mostly web layer
where as spring is used for all the layers of application
choose the best framework that supports your application.
 
Bear Bibeault
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
I will repeat was has already been said: adopting a huge framework like Struts or Spring just to do i18n when the JSTL provides this capability would be beyond ridiculous!
 
David Newton
Author
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator

damodar kumar wrote:There are many frameworks that support internationalization, among which you can adopt struts and spring framework.


But the application *already exists*. Why promote the adoption of a framework for an existing, working application when all that's needed is I18N?

 
lokesh pattajoshi
Ranch Hand
Posts: 130
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
Yes i am fully agree with Newton view..Just for internationalization we shouldn't go for a framework better to use JSTL i18n tag library.

Regards,
Lokesh
 
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
As you mention, you are not using any framework so, it is good to use JSTL to implement internationalization.

Manoj

 
lokesh pattajoshi
Ranch Hand
Posts: 130
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
yes.can you please tell me how to save locale in session using struts2 so that multiple jsp's can use that ?
    Bookmark Topic Watch Topic
  • New Topic