bbcreation/laravel-lang 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

bbcreation/laravel-lang

Composer 安装命令:

composer require bbcreation/laravel-lang

包简介

fork Languages for Laravel

README 文档

README

Stories in Ready

In this repository, you can find the lang files for the framework PHP, Laravel 4&5.

Capital letters ( WIP )

Since Laravel 5.2, we can define letters capitalized. A new branch has been created to add this feature : capital_letters.

We need your help to update validation files.

Install

Via Composer

  • For Laravel 5.* : run composer require caouecs/laravel-lang:~3.0 in your project folder
  • For Laravel 5 : run composer require caouecs/laravel4-lang:~2.0 in your project folder
  • For Laravel 4 : run composer require caouecs/laravel4-lang:~1.0 in 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

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

Credits

统计信息

  • 总下载量: 2
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-02-01