dachcom-digital / pimcore-i18n

Pimcore - i18n Manager
Other
28 stars 18 forks source link

assert correct locale in static/symfony route, see #104 #117

Closed solverat closed 1 year ago

solverat commented 1 year ago
Q A
Branch? dev-master
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Fixed tickets #104

This is basically but more sophisticated backport of the existing logic from version 3.x:

https://github.com/dachcom-digital/pimcore-i18n/blob/bf1d6a239dbc9b18bc36b5a019b00b41f834b60e/src/I18nBundle/EventListener/I18nStartupListener.php#L125