1
1
### Version Notes
2
2
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 )
5
16
6
17
#### 2.6.46
7
18
@@ -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
19
30
setting up routes.
20
31
21
32
For example:
22
-
33
+
23
34
``` php
24
35
Lang::setCustomPostProcessor(function ($translation) {
25
36
return str_replace(':app_name', config('app.name'), $translation);
26
37
});
27
38
```
28
-
39
+
29
40
Will change ` :app_name ` to the application name dynamically. Should be used to eliminate the
30
41
need to have function calls in translations by changing function calls to parameter arguments.
31
42
@@ -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
50
61
51
62
#### 2.6.32
52
63
53
- * Fix: #119 , Call to undefined function Vsch\TranslationManager\getSupportedLocale().
64
+ * Fix: #119 , Call to undefined function Vsch\TranslationManager\getSupportedLocale().
54
65
55
66
#### 2.6.30
56
67
57
- * Fix: unpublished mode shows groups not in LTM database as undefined.
68
+ * Fix: unpublished mode shows groups not in LTM database as undefined.
58
69
* Fix: unpublished mode showing translations marked deleted instead of as undefined
59
70
* Fix: add missing keys to the cache to not thrash the database on every access to their
60
71
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
76
87
before sending for translation. Prefixes results with ` :count ` if it was present in the
77
88
original. This prevents Yandex translate from getting confused and results in better plural
78
89
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,
81
92
none-prefixed.
82
93
83
94
#### 2.6.26
84
95
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.
86
97
* Fix: clean out old recursive publish group code
87
98
* Fix: zipping translations used to inadvertently publish the translations
88
99
* Fix: JSON export now fills in any empty json -> ltm mapping keys (the translation values of
212
223
#### 2.5.16
213
224
214
225
* Fix: hard coded ` ltm_translations ` used in repository queries instead of table name (with
215
- prefix).
226
+ prefix).
216
227
217
228
#### 2.5.14
218
229
274
285
* Fix: #106 , Working with arrays
275
286
* Fix: #91 , Cookies generating wrong locales
276
287
* Add: preview mode for editors/admins, fix for #101 , Is there a way to preview the changes
277
- before publishing
288
+ before publishing
278
289
279
290
#### 2.4.34
280
291
0 commit comments