This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes Getting error messages from javascript resource bundle Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Getting error messages from javascript resource bundle" Watch "Getting error messages from javascript resource bundle" New topic
Author

Getting error messages from javascript resource bundle

gobburi saikrishna
Ranch Hand

Joined: Jan 21, 2008
Posts: 52
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

Joined: Jan 10, 2002
Posts: 63211
    
  69

JavaScript has no such facility. This is something that you will have to handle on the server.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
gobburi saikrishna
Ranch Hand

Joined: Jan 21, 2008
Posts: 52
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

Joined: Jan 10, 2002
Posts: 63211
    
  69

Why aren't you using the I18N capabilities of JSP?
 
Have you checked out Aspose?
 
subject: Getting error messages from javascript resource bundle
 
It's not a secret anymore!