Passing variables inside rails internationalization yml file
The short answer is, I believe, no you cannot do string interpolation in YAML the way you want using an alias. In your case, what I would do is have something like the following in my locale file: en: site_name: “Site Name” static_pages: company: description: ! ‘%{site_name} is an online system’ and then call in … Read more