Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Getting error messages from javascript resource bundle

 
gobburi saikrishna
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I need to implement the concept of I18n using javascript.
I can use resource bundle for different languages, but how to access that using javascript in the client side ?

please anyone post the solution


Thanks
Saikrishna
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64623
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JavaScript has no such facility. This is something that you will have to handle on the server.
 
gobburi saikrishna
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there any integration with java and javascript, where 18n messages should come from Client side, because the page which is getting validated is Ajax based web page, and every time an ajax is being called.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64623
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why aren't you using the I18N capabilities of JSP?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic