Sha256: b343ad6f318ebc6cb77fcedfd7e6798804ed0812c81de81521fe76afbc818ec0

Contents?: true

Size: 317 Bytes

Versions: 49

Compression:

Stored size: 317 Bytes

Contents

[:en, :es].each do |locale|
  proxy "/#{locale}/index.html", "index.html", ignore: true, lang: locale
end

proxy "/fr/index.html", "index.html", lang: :fr

activate :i18n

# This is what breaks i18n, just because it adds a resource list manipulator that 
# forces a rebuild of the resource list.
activate :asset_hash

Version data entries

49 entries across 49 versions & 3 rubygems

Version Path
middleman-core-4.5.1 fixtures/i18n-force-locale/config.rb
middleman-core-4.5.0 fixtures/i18n-force-locale/config.rb
middleman-core-4.4.3 fixtures/i18n-force-locale/config.rb
middleman-core-4.4.2 fixtures/i18n-force-locale/config.rb
middleman-core-4.4.0 fixtures/i18n-force-locale/config.rb
middleman-core-4.3.11 fixtures/i18n-force-locale/config.rb
middleman-core-4.3.10 fixtures/i18n-force-locale/config.rb
middleman-core-4.3.8 fixtures/i18n-force-locale/config.rb
middleman-core-4.3.7 fixtures/i18n-force-locale/config.rb
files.com-1.0.55 docs/vendor/bundle/ruby/2.5.0/gems/middleman-core-4.3.3/fixtures/i18n-force-locale/config.rb
middleman-core-4.3.6 fixtures/i18n-force-locale/config.rb
middleman-core-4.3.5 fixtures/i18n-force-locale/config.rb
middleman-core-4.3.4 fixtures/i18n-force-locale/config.rb
middleman-core-4.3.3 fixtures/i18n-force-locale/config.rb
middleman-core-4.3.2 fixtures/i18n-force-locale/config.rb
middleman-core-4.3.1 fixtures/i18n-force-locale/config.rb
middleman-core-4.3.0 fixtures/i18n-force-locale/config.rb
middleman-core-with-external-sources-watch-fix-4.1.10 fixtures/i18n-force-locale/config.rb
middleman-core-with-external-sources-watch-fix-4.1.0 fixtures/i18n-force-locale/config.rb
middleman-core-4.3.0.rc.1 fixtures/i18n-force-locale/config.rb