If you follow the I18N Rails Guide, all generated links contain the locale parameter (localhost/en/about, localhost/fr/about). This is because we use the method defaul
defaul
Rails 4 + https://github.com/svenfuchs/routing-filter
def set_locale I18n.locale = params[:locale] || I18n.default_locale end def default_url_options(options = {}) (I18n.locale.to_sym.eql?(I18n.default_locale.to_sym) ? {} : {locale: I18n.locale}).merge options end