Coder Social home page Coder Social logo

rizlantamima / lang Goto Github PK

View Code? Open in Web Editor NEW

This project forked from laravel-lang/lang

0.0 1.0 0.0 5.78 MB

List of 76 languages for Laravel Framework 4, 5, 6, 7 and 8, Laravel Jetstream and Laravel Fortify.

License: MIT License

PHP 100.00%

lang's Introduction

Laravel-lang

In this repository, you can find the lang files for the Laravel Framework 4/5/6/7/8, Laravel Jetstream and Laravel Fortify.

News

  • in version 6.1, we propose a new file by language: validation-inline.php ( see #1268 )
  • in version 7, we propose new directory names to follow ISO-15897 ( see #1269 )
  • in version 8, we propose new directory names to follow Php Intl ( see #1453 )

Install

Via Composer

Install the Laravel-lang package to your Laravel project with composer using command from the table below based on the version of Laravel you are using:

Laravel version Composer command
Laravel 7-8 with Php Intl composer require laravel-lang/lang:~8.0
Laravel 8.x composer require laravel-lang/lang:~7.0
Laravel 7.x and new directory names composer require laravel-lang/lang:~7.0
Laravel 7.x composer require laravel-lang/lang:~6.1
Laravel 6.x composer require laravel-lang/lang:~5.0
Laravel 5.8 composer require laravel-lang/lang:~4.0
Laravel 5.1-5.7 composer require laravel-lang/lang:~3.0
Laravel 5 composer require laravel-lang/lang:~2.0
Laravel 4 composer require laravel-lang/lang:~1.0

Copy files

After adding the dependency using composer (as described above) to your application you can find the language files under the directory vendor/laravel-lang/lang.

Copy the folders (and JSON files) of languages that you want to use, into the directory resources/lang of your Laravel application (or app/lang in Laravel 4).

Via GitHub

Via SVN

Run this in your project directory:

# Laravel 5:
svn export https://github.com/Laravel-Lang/lang/trunk/src/[language-code] resources/lang/[language-code]

# Laravel 4:
svn export https://github.com/Laravel-Lang/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).

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

lang's People

Contributors

caouecs avatar actions-user avatar overtrue avatar mohamedsabil83 avatar miguelbgouveia avatar diveshthapa avatar anhskohbo avatar luisprmat avatar olsza avatar billmn avatar idhamperdameian avatar ycs77 avatar fernandobandeira avatar jorgercosta avatar meysamzandy avatar amieiro avatar lukalatkovic avatar whsyu avatar marius-k avatar jensstigaard avatar mejans avatar balping avatar karim-khan avatar kamaroolkarim avatar gerardnll avatar robindirksen1 avatar mrakodol avatar dinhquochan avatar makhsam avatar arcanedev-maroc avatar

Watchers

James Cloos avatar

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.