Hi All,

The only way that I can think of, to translate a full page is to use
locale files as below but it seems impractical and incorrect to
include huge chunks of static content in locale files. Could someone
suggest a better way of translation pages with static content.
_______________________________________
# config/locale/en.yml
en:
  terms_conditions:
    paragraph1: "Terms and conditions para1"
    paragraph2: "Terms and conditions para 2"

  how_to:
    paragraph1: "How to para1"
    paragraph2: "How to para2"

# config/locale/ja.yml

ja:
  terms_conditions:
    paragraph1: "漢字仮名交じり文"
    paragraph2: "ラドクリフ、マラソン"

  how_to:
    paragraph1: "五輪代表に1万m出場にも含み"
    paragraph2: "繋がって or つながって"
__________________________________________

Thanks

-- 
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 rubyonrails-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to