forci/locale-bundle
最新稳定版本:v0.4.1
Composer 安装命令:
composer require forci/locale-bundle
包简介
Simple locale management for Symfony3/4
README 文档
README
An opinionated Symfony ~3.0|4.0 Bundle with several helpers for locale management.
Add this bundle to your AppKernel.php new \Forci\Bundle\Locale\ForciLocaleBundle()
wucdbm_locale.locales_simple is a simple array of the locale keys
wucdbm_locale.locales_enabled.routing is a en|bg|sw|vn-like string
forci_locale: cookie_listener: enabled: true disabled_locale_redirect_listener: enabled: true # if a locale is not enabled, # it will redirect to the same route with the same parameters, # but using the preferred (if any) or the default locale use_preferred_locale: true # whether to try using preferred locale or not locales: en: name: English enabled: true currency: USD sw: name: Kiswahili enabled: true currency: TZS vn: name: Việt enabled: true currency: VND
统计信息
- 总下载量: 6.15k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-01-22