v1.23 (2023-04-13)
- Remove deprecation warning (#34).
v1.22 (2023-02-16)
- Compatible with Laravel 10.
- Make
gettext_locales_path
optional with fallback to currentpath.lang
/gettext directory (better default for Laravel >= 9)
v1.21 (2022-12-26)
- Use the main php-vcr repository again for tests. They now support Symfony 6 and newest Laravel versions: (cf. php-vcr/php-vcr#361).
v1.20 (2022-06-16)
- Add user-friendly warnings when a not-valid JSON file failed to be loaded.
v1.19 (2022-05-12)
- Better code standards for generated PHP files (#31).
v1.18 (2022-03-29)
- Better support for Laravel 9 new default
lang
path (instead of previouslyresources/lang
path).
v1.17 (2022-02-18)
- Support for Laravel 9
v1.16 (2021-04-23)
This package no longer support Laravel versions smaller than 5.5
- Support for multiple JSON paths. See here to add them (cf. #24 and PR #25), thanks @inxilpro.
- Ignore untranslated keys when syncing and creating JSON files on disk (same behavior).
v1.15 (2021-04-06)
- Better error management for errors like "SSL certificate problem" that don't have any response body.
v1.14 (2021-03-11)
- Bump
gettext/gettext
dependency to fix PHP 8 compatibility (cf. #22 and php-gettext/Gettext#266)
v1.13 (2020-11-19)
- Bump
gettext/gettext
dependency to fix GetText parsing with Blade Component Tags (cf. #17 and php-gettext/Gettext#261)
v1.12 (2020-09-14)
- Relax Guzzle dependency to work with Laravel 8
v1.11 (2020-09-14)
- Compatibility with Laravel 8
v1.10 (2020-04-27)
- Compatibility with Laravel 7 and PHP 7.4
v1.9 (2019-10-09)
- Add "ignored_key_prefixes" option (documentation).
- Better API request error management.
gettext_parse_paths
andgettext_locales_path
are now optional and will use the default values if not specified.
v1.8 (2019-09-17)
- Don't crash on sync when locale files don't contain a specific key for source editions, thanks @lsmith77
v1.7 (2019-09-16)
- Laravel 6 compatibility (#14)
v1.6 (2019-01-31)
- Default locale independent to translation setup (#9), thanks @nikosv
- Improve readability of target language JSON files by not escaping unicode chars or slashes.
v1.5 (2018-09-28)
- Increase the compatibility with Laravel 5.1 (maybe less).
v1.4 (2018-09-07)
- Fix important bug that didn't detect some existing translations when
php artisan translation:init
a new already-translated project.
v1.3 (2018-08-08)
- Management of JSON translations (source text) (more info here).
v1.2 (2018-07-13)
- If a sync received no content for a PHP file (ex: if it was untranslated), it was not removed an neither its content.
v1.1 (2018-04-10)
- 'set.locale' middleware to set the locale globally (more info here).
v1.0 (2018-03-23)
- Synchronize PHP keys/values and GetText with Translation.io.