Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Call the i18n Middleware first before asking the apps
The i18n will remove the locale part of the environ['PATH_INFO'] (eg `fr` in `/fr/dataset`) and set the necessary lang vars in the environ. We need to remove that before asking the apps if they can handle a request, otherwise localized URLs won't get recognized.
- Loading branch information
Showing
4 changed files
with
11 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters