aboutsummaryrefslogtreecommitdiffstats
path: root/config/locales
diff options
context:
space:
mode:
authorTeddy Wing2015-12-30 16:58:07 -0800
committerTeddy Wing2015-12-30 17:45:24 -0800
commit6674d1f2f5ec395f90d958001dce4a20cdad7879 (patch)
tree782d2d4bcfeb3d3fbd8f0d5a5c1eb46165ab5e0b /config/locales
downloadEvernote-Rails-Example-6674d1f2f5ec395f90d958001dce4a20cdad7879.tar.bz2
Initial commit. Base Rails 4.2.5 project.
Diffstat (limited to 'config/locales')
-rw-r--r--config/locales/en.yml23
1 files changed, 23 insertions, 0 deletions
diff --git a/config/locales/en.yml b/config/locales/en.yml
new file mode 100644
index 0000000..0653957
--- /dev/null
+++ b/config/locales/en.yml
@@ -0,0 +1,23 @@
+# Files in the config/locales directory are used for internationalization
+# and are automatically loaded by Rails. If you want to use locales other
+# than English, add the necessary files in this directory.
+#
+# To use the locales, use `I18n.t`:
+#
+# I18n.t 'hello'
+#
+# In views, this is aliased to just `t`:
+#
+# <%= t('hello') %>
+#
+# To use a different locale, set it with `I18n.locale`:
+#
+# I18n.locale = :es
+#
+# This would use the information in config/locales/es.yml.
+#
+# To learn more, please read the Rails Internationalization guide
+# available at http://guides.rubyonrails.org/i18n.html.
+
+en:
+ hello: "Hello world"