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.2.1 fixtures/i18n-force-locale/config.rb
middleman-core-4.2.0 fixtures/i18n-force-locale/config.rb
middleman-core-4.1.14 fixtures/i18n-force-locale/config.rb
middleman-core-4.1.13 fixtures/i18n-force-locale/config.rb
middleman-core-4.1.12 fixtures/i18n-force-locale/config.rb
middleman-core-4.1.11 fixtures/i18n-force-locale/config.rb
middleman-core-4.1.10 fixtures/i18n-force-locale/config.rb
middleman-core-4.1.9 fixtures/i18n-force-locale/config.rb
middleman-core-4.1.8 fixtures/i18n-force-locale/config.rb
middleman-core-4.1.7 fixtures/i18n-force-locale/config.rb
middleman-core-4.1.6 fixtures/i18n-force-locale/config.rb
middleman-core-4.1.5 fixtures/i18n-force-locale/config.rb
middleman-core-4.1.3 fixtures/i18n-force-locale/config.rb
middleman-core-4.1.2 fixtures/i18n-force-locale/config.rb
middleman-core-4.1.1 fixtures/i18n-force-locale/config.rb
middleman-core-4.1.0 fixtures/i18n-force-locale/config.rb
middleman-core-4.1.0.rc.2 fixtures/i18n-force-locale/config.rb
middleman-core-4.1.0.rc.1 fixtures/i18n-force-locale/config.rb
middleman-core-4.0.0 fixtures/i18n-force-locale/config.rb
middleman-core-4.0.0.rc.3 fixtures/i18n-force-locale/config.rb