i18n_multisite

Support namespaces in I18n Simple backend

With a namespace set, these are the lookup keys

I18n.namespace = :site1

will be search these keys:

  • site1.home.index.content

  • home.index.content

    t('home.index.content')
    

Your namespace can be an array too

I18n.namespace = [:main_site, :child_site]

will be search these keys:

  • main_site.child_site.home.index.content

  • main_site.home.index.content

  • home.index.content