aboutsummaryrefslogtreecommitdiffstats
path: root/railties
diff options
context:
space:
mode:
authorSven Fuchs <svenfuchs@artweb-design.de>2008-12-16 15:52:02 +0100
committerSven Fuchs <svenfuchs@artweb-design.de>2008-12-16 15:52:02 +0100
commitf388babc729174c305902be38cee01011eb0aa18 (patch)
tree2e2e520a6f24da864230ee0e20a1a597fab2a4e0 /railties
parent26b7bd941de901cb103007ebed24506bffbf6580 (diff)
downloadrails-f388babc729174c305902be38cee01011eb0aa18.tar.gz
rails-f388babc729174c305902be38cee01011eb0aa18.tar.bz2
rails-f388babc729174c305902be38cee01011eb0aa18.zip
explain purpose of interpolation feature
Diffstat (limited to 'railties')
-rw-r--r--railties/doc/guides/source/i18n.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/doc/guides/source/i18n.txt b/railties/doc/guides/source/i18n.txt
index de7801d53f..be8510cb12 100644
--- a/railties/doc/guides/source/i18n.txt
+++ b/railties/doc/guides/source/i18n.txt
@@ -263,7 +263,7 @@ I18n.t 'active_record.error_messages'
=== Interpolation
-TODO explain what this is good for
+In many cases you want to abstract your translations so that variables can be interpolated into the translation. For this reason the I18n API provides an interpolation feature.
All options besides :default and :scope that are passed to #translate will be interpolated to the translation: