Coder Social home page Coder Social logo

laravel-lang's Introduction

Laravel-lang

Stories in Ready

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

Install

Via Composer

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

  • Clone the GitHub repository : git clone https://github.com/caouecs/Laravel-lang.git
  • Or download the zip file
  • Choose the branch:
    • laravel4 for Laravel4 project
    • master for Laravel 5.1-5.7 project
    • laravel58 for Laravel 5.8 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

Credits

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.