sundflux / webvaloa

Light and fast content management system with heavy emphasis on content construction and extendability.
http://webvaloa.com
MIT License
1 stars 6 forks source link

Locale not available in view #112

Closed lahdekorpi closed 7 years ago

lahdekorpi commented 7 years ago

This data should be accessible from a plugin (using navigation plugin for this makes sense as it is needed when navigation is in use).

lahdekorpi commented 7 years ago

Actually, would it make more sense to detach this to it's own plugin @sundflux ?

lahdekorpi commented 7 years ago

Good enough.

sundflux commented 7 years ago

This is incorrect, locale is available globally from any XSL: /page/common/locale

sundflux commented 7 years ago

And plugins should use the standard \Webvaloa\Webvaloa::getLocale();