rodsaseg/laravel-lang
Composer 安装命令:
composer require rodsaseg/laravel-lang
包简介
Languages for Laravel
关键字:
README 文档
README
In this repository, you can find the lang files for the framework PHP, Laravel 4&5.
Help us
With [Laravel 5.8](https://github.com/caouecs/Laravel-lang/issues/1007), we must update passwords file, with the numbers of characters for the password, in `laravel58` branch.
Install
Via Composer
- For Laravel 5.8 : run
composer require caouecs/laravel-lang:dev-laravel58in your project folder - For Laravel 5.1-7 : run
composer require caouecs/laravel-lang:~3.0in your project folder - For Laravel 5 : run
composer require caouecs/laravel-lang:~2.0in your project folder - For Laravel 4 : run
composer require caouecs/laravel-lang:~1.0in your project folder - Files of languages are in "vendor/caouecs/laravel-lang" directory
- Copy the folders of languages that you want, in the resources/lang folder of your Laravel application (app/lang in Laravel 4).
Via GitHub
- Clone the GitHub repository : git clone https://github.com/caouecs/Laravel-lang.git
- Or download the zip file
- Choose the branch:
laravel4for Laravel4 projectmasterfor Laravel5 project
- Copy the folders of languages that you want, in resources/lang folder of your Laravel application (app/lang in Laravel 4).
Via SVN
Run this in your project directory:
# Laravel 5: svn export https://github.com/caouecs/Laravel-lang/trunk/src/[language-code] resources/lang/[language-code] # Laravel 4: svn export https://github.com/caouecs/Laravel-lang/branches/laravel4/[language-code] app/lang/[language-code]
Replace [language-code] by any of the languages listed here.
Usage [Laravel only]
In the file config/app.php, change the value of locale by the short name of your language (app/config/app.php in Laravel 4).
Change log
Please see CHANGELOG for more information what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Status of files
- Check the todo.md file to see the missing translations.
Projects based on this package
- LaravelLang by ARCANEDEV - Translations manager and checker for Laravel 5.
- Laravel-lang by overtrue - Command to add languages in your project.
- laravel-lang-installer by ablunier - Command for easily add languages to a Laravel project.
- laravel-lang-publisher by Andrey Helldar - Easy installation and update of translation files for your project.
Credits
rodsaseg/laravel-lang 适用场景与选型建议
rodsaseg/laravel-lang 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 45 次下载、GitHub Stars 达 0, 最近一次更新时间为 2022 年 01 月 04 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「laravel」 「languages」 「lang」 「lpm」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 rodsaseg/laravel-lang 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 rodsaseg/laravel-lang 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 rodsaseg/laravel-lang 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Easily switch between sites on any page of your website.
Laravel Localization in JavaScript
Deepl Automated translations for Laravel lang files
Search for untranslated keys in your Laravel project
A PHP library providing ISO 639-1 data.
A plugin for Laravel Lang that provides generic term translations for Laravel.
统计信息
- 总下载量: 45
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 3
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-01-04