All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
Previous releases are documented in github releases
4.8.11 - 2023-08-14
- PHP 5.4 support #289
4.8.10 - 2023-08-10
- Previous version was tagged with the incorrect branch.
4.8.9 - 2023-08-10
- PHP 8.1 deprecation warning #289
4.8.8 - 2022-12-08
4.8.7 - 2022-08-02
- Suppress deprecation error on PHP 8.1 #280
4.8.6 - 2021-10-19
- Parse PO files with multiline disabled entries #274
4.8.5 - 2021-07-13
- Prevent adding the same translator comment to multiple functions #271
4.8.4 - 2021-03-10
- PHP 8 compatibilty #266
4.8.3 - 2020-11-18
- Blade extractor for Laravel8/Jetstream #261
4.8.2 - 2019-12-02
- UTF-8 handling for VueJs extractor #242
4.8.1 - 2019-11-15
- Php error when scanning for a single domain but other string found #238
4.8.0 - 2019-11-04
- Many
private
properties and methods were changed toprotected
in order to improve the extensibility #231
- PHP 7.4 support #230
4.7.0 - 2019-10-07
4.6.3 - 2019-07-15
- Multiline extractions in jsCode #200
- Support for js template literals #214
- Fixed tabs in PHP comments #215
4.6.2 - 2019-01-12
- Added php-7.3 to travis
- Added VueJS extractor method docblocks for IDEs #191
4.6.1 - 2018-08-27
4.6.0 - 2018-06-26
- New extractor for VueJs #178
- Do not include empty translations containing the headers in the translator #182
- Test enhancement #177
4.5.0 - 2018-04-23
- Support for disabled translations
- Added php-7.2 to travis
- Fixed po tests on bigendian #159
- Improved comment estraction #166
- Fixed incorrect docs to dn__ function #170
- Ignored phpcs.xml file on export #168
- Improved
@method
docs inTranslations
#175
4.4.4 - 2018-02-21
- Changed the comment extraction to be compatible with gettext behaviour: the comment must be placed in the line preceding the function #161
- Validate eval input from plural forms #156
4.4.3 - 2017-08-09
- Handle
NULL
arguments on extract entries in php. For exampledn__(null, 'singular', 'plural')
. - Fixed the
PhpCode
andJsCode
extractors that didn't extractdn__
anddngettext
entries #155. - Fixed the
PhpCode
andJsCode
extractors that didn't extractdnpgettext
correctly.
4.4.2 - 2017-07-27
- Clone the translations in
Translations::mergeWith
to prevent that the translation is referenced in both places. #152 - Fixed escaped quotes in the javascript extractor #154
4.4.1 - 2017-05-20
- Fixed a bug where the options was not passed correctly to the merging Translations object #147
- Unified the plural behaviours between PHP gettext and Translator when the plural translation is unknown #148
- Removed the deprecated function
create_function()
and useeval()
instead
4.4.0 - 2017-05-10
- New option
noLocation
to po generator, to omit the references #143 - New options
delimiter
,enclosure
andescape_char
to Csv and CsvDictionary extractors and generators #145 - Added the missing
dn__()
function #146
- Improved the code style including php_codesniffer in development
4.3.0 - 2017-03-04
- Added support for named placeholders (using
strtr
). For example:__('Hello :name', [':name' => 'World']);
- Added support for Twig v2
- New function
BaseTranslator::includeFunctions()
to include the functions file without register any translator
- Fixed a bug related with the javascript source extraction with single quotes