Permalink
Browse files

Updating README and Adding CHANGELOG, CONTRIBUTING & LICENSE files

  • Loading branch information...
1 parent cf830f1 commit d04e9d4c6bf1d74789987de6b20d2eeeee744dd7 @arcanedev-maroc arcanedev-maroc committed with Frederic Delrieu Apr 16, 2016
File renamed without changes.
File renamed without changes.
File renamed without changes.
View
@@ -2,9 +2,17 @@
In this repository, you can find the lang files for the framework PHP, [Laravel 4&5](http://www.laravel.com).
-## How add languages in my app ?
+## Install
-### Installation by GitHub
+#### Via Composer
+ * For Laravel 5.2 : add `"caouecs/laravel-lang": "~3.0"` in your `composer.json` in "require"
+ * For Laravel 5/5.1 : add `"caouecs/laravel4-lang": "~2.0"` in your `composer.json` in "require"
+ * For Laravel 4 : add `"caouecs/laravel4-lang": "~1.0"` in your `composer.json` in "require"
+ * Do "composer update"
+ * Files of languages are in "vendor/caouecs/laravel-lang" directory
+ * Copy the folders of languages that you want, in *app/lang* (*resources/lang* in laravel 5) folder of your application Laravel
+
+#### Via GitHub
* Clone the [GitHub repository](https://github.com/caouecs/laravel-lang/) : *git clone https://github.com/caouecs/Laravel-lang.git*
* Or download the [zip file](https://github.com/caouecs/laravel-lang/archive/master.zip)
@@ -13,24 +21,27 @@ In this repository, you can find the lang files for the framework PHP, [Laravel
* `master` for Laravel5 project
* Copy the folders of languages that you want, in *app/lang* folder of your application Laravel
-
-### Installation by Composer
-
- * For Laravel 5.2 : add `"caouecs/laravel-lang": "~3.0"` in your `composer.json` in "require"
- * For Laravel 5/5.1 : add `"caouecs/laravel4-lang": "~2.0"` in your `composer.json` in "require"
- * For Laravel 4 : add `"caouecs/laravel4-lang": "~1.0"` in your `composer.json` in "require"
- * Do "composer update"
- * Files of languages are in "vendor/caouecs/laravel-lang" directory
- * Copy the folders of languages that you want, in *app/lang* (*resources/lang* in laravel 5) folder of your application Laravel
-
-### Installation by Command
+#### Laravel Package
If you have a Laravel5 project, you can use `laravel-lang` project of overtrue : *composer require "overtrue/laravel-lang:dev-master"*
-### Language by default in your app
+## Usage [Laravel only]
In the file *app/config/app.php*, change the value of *locale* by the short name of your language.
+## Change log
+
+Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.
+
## Contributing
-Please see [Contributing.md](Contributing.md) for details.
+Please see [CONTRIBUTING](CONTRIBUTING.md) for details.
+
+## Status of files
+
+* Check the [todo.md](todo.md) file to see the missing translations.
+
+## Credits
+
+- [caouecs](https://github.com/caouecs)
+- [All Contributors](https://github.com/caouecs/Laravel-lang/graphs/contributors)

0 comments on commit d04e9d4

Please sign in to comment.