Skip to content

Commit

Permalink
Add to How To translation file name example for dialects
Browse files Browse the repository at this point in the history
  • Loading branch information
ai committed Sep 26, 2010
1 parent ec9c133 commit 2f59c89
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions r18n-desktop/README.rdoc
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,9 @@ information.
== How To

1. Create translations dir. For example: <tt>./i18n/</tt>.
2. Add file with translation in some language. For example
<tt>./i18n/en.yml</tt>:
2. Add file with translation to <tt>./i18n/</tt> with language code in file name
(for example, <tt>en.yml</tt> for English or <tt>en-us.yml</tt> USA English
dialect). For example, <tt>./i18n/en.yml</tt>:

file:
add: Add file
Expand Down
5 changes: 3 additions & 2 deletions sinatra-r18n/README.rdoc
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,9 @@ information.
== How To

1. Create translations dir <tt>./i18n/</tt>.
2. Add file with translation in some language. For example
<tt>./i18n/en.yml</tt>:
2. Add file with translation to <tt>./i18n/</tt> with language code in file name
(for example, <tt>en.yml</tt> for English or <tt>en-us.yml</tt> USA English
dialect). For example, <tt>./i18n/en.yml</tt>:

post:
friends: Post only for friends
Expand Down

0 comments on commit 2f59c89

Please sign in to comment.