@@ -6,7 +6,7 @@ translation lines with ease. Taking care of a multilingual interface is not a he
66<br >
77<br >
88
9- <img src =" http://s30 .postimg.org/ni241hhpd/ezgif_com_resize .gif " >
9+ <img src =" http://s15 .postimg.org/3lfrbeg7t/langman_2 .gif " >
1010<br >
1111<a href =" https://travis-ci.org/themsaid/laravel-langman " ><img src =" https://travis-ci.org/themsaid/laravel-langman.svg?branch=master " alt =" Build Status " ></a >
1212<a href =" https://styleci.io/repos/55088784 " ><img src =" https://styleci.io/repos/55088784/shield?style=flat " alt =" StyleCI " ></a >
@@ -23,7 +23,7 @@ Begin by installing the package through Composer. Run the following command in y
2323$ composer require themsaid/laravel-langman
2424```
2525
26- Once done, add the following in the providers array of ` config/app.php ` :
26+ Once done, add the following line in your providers array of ` config/app.php ` :
2727
2828``` php
2929Themsaid\Langman\LangmanServiceProvider::class
@@ -65,6 +65,14 @@ Brings only the translation of the `name` key in all languages.
6565
6666---
6767
68+ ```
69+ php artisan langman:show users.name.first
70+ ```
71+
72+ Brings the translation of a nested key.
73+
74+ ---
75+
6876```
6977php artisan langman:show users.nam -c
7078```
@@ -104,7 +112,7 @@ asking you to give a translation for each, and finally save the given values to
104112
105113```
106114php artisan langman:trans users.name
107- php artisan langman:trans users.name. en
115+ php artisan langman:trans users.name-> en
108116```
109117
110118In the first case it'll ask you to give a translation for the given key in all languages, in the second case it'll ask you only
@@ -130,5 +138,4 @@ If you want a web interface to manage your language files instead, I recommend [
130138by [ Barry vd. Heuvel] ( https://github.com/barryvdh ) .
131139
132140## TODO
133- - Support nested translation lines in ` langman:trans ` , ` langman:sync ` , ` langman:remove ` , ` langman:missing ` .
134141- Support vendor language files.
0 commit comments