title: ResourceBundle for JavaScript
body: <p>Is there any standard for storing localized messages on client side (JavaScript/HTML)? </p>
  
  <p>Suppose a site supports several languages and I would like to pass a file with all possible error messages to client, what format would be the best format and how would I read it?</p>
  
  <p>Also what are pros and cons of resolving error message text from some id on client- instead of server-side?</p>