ride / web-i18n-cookie
I18n locale cookie integration in the web interface of the Ride framework
1.0.1
2017-07-19 09:47 UTC
Requires
- ride/app: ^1.0.0
- ride/app-i18n: ^1.0.0
- ride/lib-dependency: ^1.0.0
- ride/lib-http: ^1.0.0
- ride/lib-i18n: ^1.0.0
- ride/lib-log: ^1.0.0
- ride/lib-mvc: ^1.0.0
- ride/web: ^1.0.0
- ride/web-i18n: ^1.0.0
This package is auto-updated.
Last update: 2024-10-13 00:46:27 UTC
README
Stores a cookie with the locale on every HTML response. When the homepage is requested, the cookie will be checked when negotiating for the locale.
Parameters
- i18n.cookie: Name for the locale cookie (defaults to _locale)
Related Modules
- ride/app
- ride/app-i18n
- ride/lib-dependency
- ride/lib-mvc
- ride/lib-http
- ride/lib-i18n
- ride/lib-log
- ride/web
- ride/web-i18n
Installation
You can use Composer to install this application.
composer require ride/web-i18n-cookie