andrey-helldar / lang-translations
v4.0.0
2021-04-15 19:39 UTC
Suggests
- andrey-helldar/laravel-lang-publisher: Localization manager for working with this project
- dev-main
- v4.0.0
- v3.1.1
- v3.1.0
- v3.0.1
- v3.0.0
- 2.x-dev
- v2.13.0
- v2.12.0
- v2.11.0
- v2.10.0
- v2.9.1
- v2.9.0
- v2.8.0
- v2.7.0
- v2.6.0
- v2.5.0
- v2.4.0
- v2.3.0
- v2.2.0
- v2.1.3
- v2.1.2
- v2.1.1
- v2.1.0
- v2.0.0
- 1.x-dev
- v1.7.0
- v1.6.1
- v1.6.0
- v1.5.0
- v1.4.1
- v1.4.0
- v1.3.6
- v1.3.5
- v1.3.4
- v1.3.3
- v1.3.2
- v1.3.1
- v1.3.0
- v1.2.0
- v1.1.4
- v1.1.3
- v1.1.1
- v1.1.0
- 1.0.14
- 1.0.13
- 1.0.12
- 1.0.11
- 1.0.10
- 1.0.9
- 1.0.8
- 1.0.7
- 1.0.6
- 1.0.5
- 1.0.4
- 1.0.3
- 1.0.2
- 1.0.1
- 1.0.0
This package is auto-updated.
Last update: 2021-09-24 11:27:40 UTC
README
支持78种语言的翻译。
注意
此包已被弃用。请使用
laravel-lang/http-statuses
代替。
安装
要获取Lang Translations库的最新版本,只需使用Composer引入项目。
$ composer require andrey-helldar/lang-translations --dev
当然,您也可以手动更新您的require
块并运行composer update
。
{ "require": { "andrey-helldar/lang-translations": "^4.0" } }
使用
注意!
仅指定命名空间是不够的 - 翻译管理器不会安装额外的包 - 它使用已安装的包,所以请不要忘记安装它。
从版本4.0开始,此项目将不包含安装代码,只有本地化文件。
要将此存储库中的文件安装到您的项目中,您需要安装andrey-helldar/laravel-lang-publisher,并在其配置中指定此项目的命名空间。
例如
// config/lang-publisher.php <?php return [ // ... /* * Determines from which packages to synchronize localization files. * * A prerequisite is compliance with a single file placement format: * * source/ * locales/ * af/ * af.json * <filename>.php * <locale>/ * <locale>.json * <filename>.php */ 'packages' => [ 'andrey-helldar/lang-translations', ], ];
许可证
此包遵循MIT许可证。
企业版
作为Tidelift订阅的一部分提供。
andrey-helldar/lang-translations
的维护者以及成千上万的其他包维护者正在与Tidelift合作,为构建您应用程序所使用的开源包提供商业支持和维护。节省时间,降低风险,并提高代码质量,同时支付您实际使用的包的维护者。了解更多信息:点击这里。