Bookmark Topic Watch Topic
  • New Topic

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

 
lokesh pattajoshi
Ranch Hand
Posts: 130
  • Mark post as helpful
  • send pies
  • 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

 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • 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
  • Report post to moderator
OK thanks.
 
Daia Yum
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Report post to moderator
Use Spring Framework. This would be my best suggesstion.
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Report post to moderator
Introduce Spring into an already-existing application just for I18N?!
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65122
91
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Report post to moderator
Dayasankar Yumkhaibam wrote:Use Spring Framework. This would be my best suggesstion.

Just for internationalization? Surely you jest!
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65122
91
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Report post to moderator
To answer the question posed in the subject: why would you use a proprietary API when a standard one exists?
 
damodar kumar
Ranch Hand
Posts: 77
Android Chrome MyEclipse IDE
  • Mark post as helpful
  • send pies
  • 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
Author and ninkuma
Marshal
Pie
Posts: 65122
91
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • 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
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • 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
  • 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
 
in Mkumar
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • 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
  • 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