Skip to content

Commit d06f4de

Browse files
committed
update versioninfo and readme for 6 support
1 parent 4669d79 commit d06f4de

File tree

2 files changed

+40
-25
lines changed

2 files changed

+40
-25
lines changed

readme.md

Lines changed: 18 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Laravel 5 Translation Manager
1+
# Laravel Translation Manager
22

33
[![GitQ](https://gitq.com/badge.svg)](https://gitq.com/vsch/laravel-translation-manager)
44

@@ -20,16 +20,10 @@ $ php artisan vendor:publish --provider="Vsch\TranslationManager\ManagerServiceP
2020
$ php artisan migrate
2121
```
2222

23-
**Detailed information is now in the [wiki].**
24-
25-
[Installation][]
26-
[Configuration][]
27-
[Version Notes][]
28-
29-
#### 2.6.16 Adds React App UI as an alternative to WebUI
30-
31-
![React_UI](../../wiki/images/React_UI.png)
23+
#### Supported Laravel Versions
3224

25+
> * For Laravel 6.0 require: `"vsch/laravel-translation-manager": "~6.0"`
26+
>
3327
> * For Laravel 5.6 require: `"vsch/laravel-translation-manager": "~2.6"`
3428
>
3529
> * For Laravel 5.5 require: `"vsch/laravel-translation-manager": "~2.5"`
@@ -52,13 +46,23 @@ $ php artisan migrate
5246
> :exclamation: If you have made correction to the auto-translated localization and would like
5347
> to share them with others please do so. It will be greatly appreciated.
5448
49+
**Detailed information is now in the [wiki].**
50+
51+
[Installation][]
52+
[Configuration][]
53+
[Version Notes][]
54+
55+
#### 2.6.16 Adds React App UI as an alternative to WebUI
56+
57+
![React_UI](../../wiki/images/React_UI.png)
58+
5559
### Version 2.6.10 released
5660

5761
React UI added as an option to WebUI.
5862

5963
Code updated for Laravel 5.6 compatibility
6064

61-
Support for JSON translation files added. [Versioninfo.md](versioninfo.md#264)
65+
Support for JSON translation files added. [Versioninfo.md](versioninfo.md#264)
6266

6367
### Version 2.5.6 released
6468

@@ -68,7 +72,7 @@ Code updated for Laravel 5.5 compatibility
6872

6973
### Version 2.4.36 released
7074

71-
Support for JSON translation files added. [Versioninfo.md](versioninfo.md#2436)
75+
Support for JSON translation files added. [Versioninfo.md](versioninfo.md#2436)
7276

7377
Important LTM Translator method changes to restore compatibility with Laravel 5.4 API. These
7478
changes affect the order of arguments to the LTM Translator implementation. If you were using
@@ -139,6 +143,8 @@ specifically change that through the web UI, see [User Admin] or by populating t
139143
[Features]: ../../wiki/#features
140144
[Installation]: ../../wiki/Installation
141145
[Installation: Publishing And Running Migrations]: ../../wiki/Installation#publishing-and-running-migrations
146+
[MysqlTranslatorRepository.php]: https://github.com/vsch/laravel-translation-manager/blob/master/src/Repositories/MysqlTranslatorRepository.php
147+
[PostgresTranslatorRepository.php]: https://github.com/vsch/laravel-translation-manager/blob/master/src/Repositories/PostgresTranslatorRepository.php
142148
[Removing dependency on UserPrivilegeMapper from facade alias array]: ../../wiki/Installation#removing-dependency-on-userprivilegemapper-from-facade-alias-array
143149
[Removing dependency on UserPrivilegeMapper from service providers array]: ../../wiki/Installation#removing-dependency-on-userprivilegemapper-from-service-providers-array
144150
[Screen Shot Show Source Refs]: https://raw.githubusercontent.com/wiki/vsch/laravel-translation-manager/images/ScreenShot_ShowSourceRefs.png
@@ -148,6 +154,4 @@ specifically change that through the web UI, see [User Admin] or by populating t
148154
[Version Notes]: versioninfo.md
149155
[Web Interface: Source References]: ../../wiki/Web-Interface#source-references
150156
[wiki]: ../../wiki
151-
[MysqlTranslatorRepository.php]: https://github.com/vsch/laravel-translation-manager/blob/master/src/Repositories/MysqlTranslatorRepository.php
152-
[PostgresTranslatorRepository.php]: https://github.com/vsch/laravel-translation-manager/blob/master/src/Repositories/PostgresTranslatorRepository.php
153157

versioninfo.md

Lines changed: 22 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,18 @@
11
### Version Notes
22

3-
The 1.x.x versions are for Laravel 4.2, 2.1.x versions are for Laravel 5.1+, 2.3.x for Laravel
4-
5.3, 2.4.x for Laravel 5.4, 2.5.x for Laravel 5.5 and 2.6.x for Laravel 5.6 compatibility.
3+
Version compatibility map:
4+
* 1.x.x versions are for Laravel 4.2,
5+
* 2.1.x versions are for Laravel 5.1+,
6+
* 2.3.x for Laravel 5.3,
7+
* 2.4.x for Laravel 5.4,
8+
* 2.5.x for Laravel 5.5
9+
* 2.6.x for Laravel 5.6
10+
* 6.x.x for Laravel 6.x
11+
12+
#### 6.0.0
13+
14+
* Fix: merge #147, PR: Add support for Laravel 6 thanks to
15+
[joaorbrandao](https://github.com/joaorbrandao)
516

617
#### 2.6.46
718

@@ -19,13 +30,13 @@ The 1.x.x versions are for Laravel 4.2, 2.1.x versions are for Laravel 5.1+, 2.3
1930
setting up routes.
2031

2132
For example:
22-
33+
2334
```php
2435
Lang::setCustomPostProcessor(function ($translation) {
2536
return str_replace(':app_name', config('app.name'), $translation);
2637
});
2738
```
28-
39+
2940
Will change `:app_name` to the application name dynamically. Should be used to eliminate the
3041
need to have function calls in translations by changing function calls to parameter arguments.
3142

@@ -50,11 +61,11 @@ The 1.x.x versions are for Laravel 4.2, 2.1.x versions are for Laravel 5.1+, 2.3
5061

5162
#### 2.6.32
5263

53-
* Fix: #119, Call to undefined function Vsch\TranslationManager\getSupportedLocale().
64+
* Fix: #119, Call to undefined function Vsch\TranslationManager\getSupportedLocale().
5465

5566
#### 2.6.30
5667

57-
* Fix: unpublished mode shows groups not in LTM database as undefined.
68+
* Fix: unpublished mode shows groups not in LTM database as undefined.
5869
* Fix: unpublished mode showing translations marked deleted instead of as undefined
5970
* Fix: add missing keys to the cache to not thrash the database on every access to their
6071
translations
@@ -76,13 +87,13 @@ The 1.x.x versions are for Laravel 4.2, 2.1.x versions are for Laravel 5.1+, 2.3
7687
before sending for translation. Prefixes results with `:count ` if it was present in the
7788
original. This prevents Yandex translate from getting confused and results in better plural
7889
forms, especially for Russian which has 3.
79-
* Change: Now `|:` generates plural forms with `:count ` prefix and toggles the prefix once
80-
the plurals are generated. Toggles in the pattern: plurals only prefixed, all prefixed,
90+
* Change: Now `|:` generates plural forms with `:count ` prefix and toggles the prefix once the
91+
plurals are generated. Toggles in the pattern: plurals only prefixed, all prefixed,
8192
none-prefixed.
8293

8394
#### 2.6.26
8495

85-
* Add: PR merge from @vesper8 for customizing regex for reference search through the config.
96+
* Add: PR merge from @vesper8 for customizing regex for reference search through the config.
8697
* Fix: clean out old recursive publish group code
8798
* Fix: zipping translations used to inadvertently publish the translations
8899
* Fix: JSON export now fills in any empty json -> ltm mapping keys (the translation values of
@@ -212,7 +223,7 @@ and
212223
#### 2.5.16
213224

214225
* Fix: hard coded `ltm_translations` used in repository queries instead of table name (with
215-
prefix).
226+
prefix).
216227

217228
#### 2.5.14
218229

@@ -274,7 +285,7 @@ and
274285
* Fix: #106, Working with arrays
275286
* Fix: #91, Cookies generating wrong locales
276287
* Add: preview mode for editors/admins, fix for #101, Is there a way to preview the changes
277-
before publishing
288+
before publishing
278289

279290
#### 2.4.34
280291

0 commit comments

Comments
 (0)