Skip to content

Instantly share code, notes, and snippets.

@gotmayonase
Created January 20, 2016 17:13
Show Gist options
  • Save gotmayonase/0c6c280a67606ca73e0c to your computer and use it in GitHub Desktop.
Save gotmayonase/0c6c280a67606ca73e0c to your computer and use it in GitHub Desktop.
Localization Example
<h1>What's all this aboot?</h1>
<h1>What's all this about?</h1>
<h1><%= t('about_heading') %></h1>
en-CA:
about_heading: "What's all this aboot?"
en-US:
about_heading: "What's all this about?"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment