Skip to content

Commit 9fc8610

Browse files
committed
README for 2.x.5
1 parent 0a3388d commit 9fc8610

File tree

2 files changed

+33
-11
lines changed

2 files changed

+33
-11
lines changed

README.md

Lines changed: 32 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -30,26 +30,32 @@ LLH is a set of artisan commands to manage translations in your Laravel project.
3030

3131
- Choose your version according to the version compatibility matrix:
3232

33-
| Laravel | Package
34-
|:---------|:----------
35-
| 4.2.x | 2.0.x
36-
| 5.0.x | 2.1.x
37-
| 5.1.x | 2.2.x
38-
| 5.2.x | 2.3.x
39-
| 5.3.x | 2.4.x
40-
| 5.4.x | 2.5.x
33+
| Laravel | Lumen | Package
34+
|:---------|:---------|:----------
35+
| 4.2.x | | 2.0.x
36+
| 5.0.x | | 2.1.x
37+
| 5.1.x | 5.1.x | 2.2.x
38+
| 5.2.x | 5.2.x | 2.3.x
39+
| 5.3.x | 5.3.x | 2.4.x
40+
| 5.4.x | 5.4.x | 2.5.x
4141

4242
- Add the following line in the `require-dev` array of the `composer.json` file and replace the version if needed according to your Laravel version:
4343
```php
4444
"potsky/laravel-localization-helpers" : "2.5.*"
4545
```
4646

4747
- Update your installation : `composer update`
48-
- Add the following line in the `providers` array of the `config/app.php` configuration file :
48+
- For Laravel, add the following line in the `providers` array of the `config/app.php` configuration file :
4949
```php
5050
Potsky\LaravelLocalizationHelpers\LaravelLocalizationHelpersServiceProvider::class,
5151
```
5252

53+
- For Lumen, add the following lines in the `bootstrap/app.php` file :
54+
```php
55+
$app->register( Potsky\LaravelLocalizationHelpers\LaravelLocalizationHelpersServiceProvider::class );
56+
$app->configure('laravel-localization-helpers');
57+
```
58+
5359
- Now execute `php artisan list` and you should view the new *localization* commands:
5460
```
5561
...
@@ -60,7 +66,7 @@ LLH is a set of artisan commands to manage translations in your Laravel project.
6066
...
6167
```
6268

63-
You can add the facade in the Aliases if you need to manage translations in your code :
69+
In Laravel, you can add the facade in the Aliases if you need to manage translations in your code :
6470

6571
```php
6672
'LocalizationHelpers' => Potsky\LaravelLocalizationHelpers\Facade\LocalizationHelpers::class
@@ -82,6 +88,8 @@ config/laravel-localization-helpers.php
8288

8389
Add new folders to search for, add your own lang methods or functions, ...
8490

91+
> For Lumen, copy manually the [configuration file](https://github.com/potsky/laravel-localization-helpers/blob/master/src/config/config-laravel5.php) as `config/laravel-localization-helpers.php`.
92+
8593
### Backup files
8694

8795
You should not include backup lang files in GIT or other versioning systems.
@@ -282,6 +290,10 @@ Use the [github issue tool](https://github.com/potsky/laravel-localization-helpe
282290

283291
## 5. Upgrade notices
284292

293+
### From `v2.x.4` to `v2.x.5`
294+
295+
- Parameter `dot_notation_split_regex` has been added in the [configuration file](https://github.com/potsky/laravel-localization-helpers/tree/master/src/config). Add it in your configuration file.
296+
285297
### From `v2.x.1` to `v2.x.2`
286298

287299
- Parameter `obsolete_array_key` has been added in the [configuration file](https://github.com/potsky/laravel-localization-helpers/tree/master/src/config). Add it in your configuration file.
@@ -293,6 +305,16 @@ Use the [github issue tool](https://github.com/potsky/laravel-localization-helpe
293305

294306
## 6. Change Log
295307

308+
### v2.x.5
309+
310+
- new: `dot_notation_split_regex` has been added to automatically handle dots in lemma ([#59](https://github.com/potsky/laravel-localization-helpers/issues/59))
311+
- fix: ignore vendors lang folders ([#59](https://github.com/potsky/laravel-localization-helpers/issues/59))
312+
- new: you can now ignore specific lang files and not only lang families ([#44](https://github.com/potsky/laravel-localization-helpers/issues/44))
313+
- fix: in dry run mode, lang files were still created ([#54](https://github.com/potsky/laravel-localization-helpers/issues/54))
314+
- change: try to handle dynamic lemma errors ([#53](https://github.com/potsky/laravel-localization-helpers/issues/53))
315+
- change: change composer requirements to minimize lumen requirements ([#49](https://github.com/potsky/laravel-localization-helpers/issues/49))
316+
- change: handle indirect translation calls ([#47](https://github.com/potsky/laravel-localization-helpers/issues/47))
317+
296318
### v2.x.4
297319

298320
- new: Support of Laravel 5.3 from the `2.4.4` branch ([#41](https://github.com/potsky/laravel-localization-helpers/issues/41))

tests/fixes/Gh31Tests.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ class Gh31Tests extends TestCase
99
private static $langFile;
1010

1111
private static $langFileVendor;
12-
12+
1313
private static $langFileVendor42;
1414

1515
/**

0 commit comments

Comments
 (0)