Put your translation in the corresponding .yml files in / config / locales For example, in /config/locales/en.yml
en: link_text: name: "Name (%{:name})"
Then from your views:
<%= link_to(t('link_text.name', :name => @name), user_path(@user, :in => :s)) %>
source share