Skip to content

Latest commit

 

History

History
28 lines (17 loc) · 1.05 KB

UPGRADING.md

File metadata and controls

28 lines (17 loc) · 1.05 KB

Upgrading Guide

See the CHANGELOG.md for detailed information about what has changed between versions.

This guide is useful to figure out what you need to do between breaking changes.

9.0.0 to 10.0.0

Restrict host languages

Before Route Translator 10.0, the host_locales option allowed to use all the languages on multiple hosts. This was causing duplication of routes as described in #171.

Starting from 10.0, this use case is no longer supported out of the box and requires a custom implementation.

Take a look at this Wiki page: Use all languages on multiple hosts

6.0.0 to 7.0.0

Do not set locale from url by default

Route Translator 7.0 does not add around_action :set_locale_from_url to ActionController::Base anymore.

You can include it in your ApplicationController or in the controllers that require the I18n.locale being set from the url parameters.