title: Internationalization in CakePHP JavaScript files
body: <p>I'm wrapping up a project using Cakes internationalization features to allow our application to be translated into different languages. That's worked great.</p>
  
  <p>A problem I've noticed though is there are a few places where text is added via JavaScript and this text does not currently come from the server at all. It's for things like dialogue boxes and a few pieces of text that change based on a users selection.</p>
  
  <p>How have you handled this in your own applications? How would you handle this? Is there a library or component that handles this. What about any jQuery libraries?</p>