Skip to content

Commit af7cefd

Browse files
committed
update readme
1 parent 061074d commit af7cefd

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

README.md

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,14 @@ Brings the translation of a nested key.
7373

7474
---
7575

76+
```
77+
php artisan langman:show package::users.name
78+
```
79+
80+
Brings the translation of a vendor package language file.
81+
82+
---
83+
7684
```
7785
php artisan langman:show users.nam -c
7886
```
@@ -113,6 +121,7 @@ asking you to give a translation for each, and finally save the given values to
113121
```
114122
php artisan langman:trans users.name
115123
php artisan langman:trans users.name->en
124+
php artisan langman:trans package::users.name
116125
```
117126

118127
In 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
@@ -124,6 +133,7 @@ This command will add a new key if not existing, and updates the key if it is al
124133

125134
```
126135
php artisan langman:remove users.name
136+
php artisan langman:remove package::users.name
127137
```
128138

129139
It'll remove that key from all language files.
@@ -135,7 +145,4 @@ It'll remove that key from all language files.
135145
## Web interface
136146

137147
If you want a web interface to manage your language files instead, I recommend [Laravel 5 Translation Manager](https://github.com/barryvdh/laravel-translation-manager)
138-
by [Barry vd. Heuvel](https://github.com/barryvdh).
139-
140-
## TODO
141-
- Support vendor language files.
148+
by [Barry vd. Heuvel](https://github.com/barryvdh).

0 commit comments

Comments
 (0)