RubyFlow : The Ruby Community Blog

Home   Submit   Sign Up   Log In   leaders   Twitter   RSS Feed  
 

Easy FAQs with I18n

I stumbled across an interesting way to use I18n recently when modifying a FAQ section on a site. FAQs by their nature tend to be a constantly tweaked part of the site. Having to constantly change copy or add and remove questions can be time consuming. Fortunately the person in charge of the site, while not a developer, is technically savvy and can be trusted to modify YAML. I structured the en.yml file as follows for my own convenience but soon realized another use for it...

Comments

Post a Comment

Comment abilities for non registered users are currently deactivated, pending time to add a proper CAPTCHA to solve the escalating spam problem. Sorry!