rodsaseg/laravel-lang

Laravel 语言包

3.0.62 2022-01-04 16:44 UTC

This package is auto-updated.

Last update: 2024-09-04 23:25:13 UTC


README

Stories in Ready

在此存储库中,您可以找到PHP框架Laravel的lang文件,包括Laravel 4&5

帮助我们

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.

安装

通过Composer

  • 对于Laravel 5.8:在项目文件夹中运行 composer require caouecs/laravel-lang:dev-laravel58
  • 对于Laravel 5.1-7:在项目文件夹中运行 composer require caouecs/laravel-lang:~3.0
  • 对于Laravel 5:在项目文件夹中运行 composer require caouecs/laravel-lang:~2.0
  • 对于Laravel 4:在项目文件夹中运行 composer require caouecs/laravel-lang:~1.0
  • 语言文件位于 "vendor/caouecs/laravel-lang" 目录中
  • 将您需要的语言文件夹复制到Laravel应用程序的 resources/lang 文件夹中(Laravel 4中为 app/lang)。

通过GitHub

通过SVN

在项目目录中运行以下命令

# 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]

[language-code] 替换为此处列出的任何语言。

用法 [仅Laravel]

在文件 config/app.php 中,将 locale 的值更改为您的语言的简称(Laravel 4中的 app/config/app.php)。

变更日志

有关最近更改的更多信息,请参阅CHANGELOG

贡献

有关详细信息,请参阅CONTRIBUTING

文件状态

  • 查看todo.md 文件以查看缺少的翻译。

基于此包的项目

致谢