Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
themsaid committed Apr 9, 2016
1 parent 061074d commit af7cefd
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,14 @@ Brings the translation of a nested key.

---

```
php artisan langman:show package::users.name
```

Brings the translation of a vendor package language file.

---

```
php artisan langman:show users.nam -c
```
Expand Down Expand Up @@ -113,6 +121,7 @@ asking you to give a translation for each, and finally save the given values to
```
php artisan langman:trans users.name
php artisan langman:trans users.name->en
php artisan langman:trans package::users.name
```

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

```
php artisan langman:remove users.name
php artisan langman:remove package::users.name
```

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

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)
by [Barry vd. Heuvel](https://github.com/barryvdh).

## TODO
- Support vendor language files.
by [Barry vd. Heuvel](https://github.com/barryvdh).

0 comments on commit af7cefd

Please sign in to comment.