From 975ff782e480dddaf776f283aa8c4ba72a0be6a9 Mon Sep 17 00:00:00 2001 From: "Rico Sta. Cruz" Date: Thu, 16 Apr 2015 20:50:15 +0800 Subject: [PATCH] Yep --- rails-i18n.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/rails-i18n.md b/rails-i18n.md index b53184e01..85dc27e67 100644 --- a/rails-i18n.md +++ b/rails-i18n.md @@ -3,8 +3,6 @@ title: Rails i18n layout: default --- -### Basics - ```rb t('my.messages.hello') @@ -16,6 +14,13 @@ t('my.messages.hello', default: "Hello") ``` {:.light} +```yml +en: + my: + messages: + hello: "Hello" +``` + ### Interpolation ```rb