internetgalerie/ig-language-detection
最新稳定版本:v1.1.11
Composer 安装命令:
composer require internetgalerie/ig-language-detection
包简介
Language detection in PSR-15 middleware
README 文档
README
Language detection in PSR-15 middleware stack on uri=/. Based on the Accept-Language Header the corresponding site config is choosen. Additional configuration in YAML site configuration is available like aliases and more
1. What does it do?
- The language detection is only called when “https://www.example.com” was entered, but all sites have “https://www.example.com/lang-key/”.
- Extra configuraion is done in the site YAML config file (e.g. typo3conf/sites/website/config.yaml)
- The language detection is done with accept header (HTTP_ACCEPT_LANGUAGE) from the browser.
- If you just want the language detection on the activated languages of the site configuraion, you don’t need any extra configuraion.
- Documentation is available
2. Usage
1) Installation
Installation using Composer
The recommended way to install the extension is by using Composer. In your Composer based TYPO3 project root, just do composer require internetgalerie/ig-language-detection.
Installation as extension from TYPO3 Extension Repository (TER)
Download and install the extension with the extension manager module.
TYPO3 10.4: Enable Feature in Settings -> "Feature Toggles" -> "Rearranged redirect middlewares" (rearrangedRedirectMiddlewares) for redirects
统计信息
- 总下载量: 12.68k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0-or-later
- 更新时间: 2019-10-08