Hi there, when using the Rails defaults, if I write in a view something
like this:
<%= t(".thanks"), name: current_user.name %>
Then I give the YML file to a translator and give him access to the staging
platform, Rails will output its famous span containing : translation
missing: home.index.thanks
The problem is that the translator has no easy way of knowing that there is
an interpolation key called "name", right?
What do you think of including the list of interpolation keys by default in
the span message, something like: translation missing: home.index.thanks,
interpolation: name
Nicolas.
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Core" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/rubyonrails-core.
For more options, visit https://groups.google.com/d/optout.