hade wrote:
> Hi,
> 
> I have quite many pure javascript files (*.js) in my rails project.
> Unfortunately some of those files contain strings to be translated. I
> have just started using I18n in rails. I'd like to hear your feedback
> about how you are translating your javascript files.
[...]

Hmm.  I'd say the best approach would be to keep display text out of 
your JS files -- put it in partials.

Best,
--
Marnen Laibow-Koser
http://www.marnen.org
[email protected]
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to