The change log describes what is "Added", "Removed", "Changed" or "Fixed" between each release.
- Command to delete empty translations
- Ability to send arbitrary options to a TransferableStorage with the download and sync command.
- Support Symfony Profiler dark mode
- Add missing AJAX requests headers ('X-Requested-With')
- Resolve environment placeholders.
- Correct incorrect service name
php_translator.fallback_translator.inner. - Extract command: Configure bundle dir before fetching catalogues.
- Deal with null values when retrieving catalogues.
- GUI updates on the Profiler page.
- Fixed "Unable to edit a missing translation from profiler" by updating SymfonyStorage
- Modernized SymfonyProfilerController by stop using
$this->get()and other bad practises. - Modernized DownloadCommand
StorageService::download()will return an array ofMessageCatalogueafter local copy is downloaded.- DownloadCommand will automatically clear cache.
- Support for Symfony 5.
- PHP 7 type hints.
- Allow user to configure a custom dumper.
- Use class names as service ids. Old service ids will still be available as aliases.
- Renamed all
*.ymlfiles to*.yaml.
- Support for PHP < 7.2
- Support for Symfony < 3.4
- Support for php-translation/extractor 1.0 (including Twig 1 support)
- Fixed issue with translations falsely marked as obsolete
- Declared
Translation\Extractor\Visitor\Php\Symfony\FormTypeHelpas a visitor - Support for Symfony >= 4.2
- Using Twig namespaces
- Twig block names to easier override web profiler js/css
- Support for PHP < 7.1
- Support for Symfony < 3.4
- PHP 7.3 support
- Bing translator service
- Deprecated notice when using
symfony/config>= 4.2 - Compatibility issues with Symfony 4.3
- Bad HTML generation when there is HTML in the translation
- Tweaked several Command descriptions
- Command translationdelete-obsolete did not run in non-interactive shells
- EditInPlaceResponseListener did not work properly with BinaryFileResponse
- Filter on empty messages in WebUI
- Use bootstrap icons
- Buhfix with logic operator in ImportService. See #258
- Bootstrap 4.1 CSS for web UI
- Support for stable
php-translationdependencies
- Only add translation form
@descannotation to the default locale - Ensure storage exists before using it in commands
FileDumper::setBackup()deprecation notice- Twig
strict_variabelsdeprecation notice - Avoid global bootstrap overrides - apply styles via new .configs CSS class
- The
FallbackTranslatorwill not try to translate to an empty locale. This could be considered as a BC break since now it will return the translation key instead of whatever the translator service returned (usually the translated string in original language).
- Support for
php-translation/common:0.3andphp-translation/symfony-storage:0.5 - Support for dumping to .po files.
- Support for
SourceLocation's context keytranslationwhich adds a default translation to theMessage. - Better respect blacklist and whitelist in
CatalogueFetcher.
- Bug with config option
local_file_storage_optionsnot being used. - Bug with edit-in-place and custom activator.
- The "desc" filter will be used as default translation when extracting.
- User feedback when you use DeleteObsoleteCommand.
- Injecet depedencies in commands.
- Added argument for sync direction.
- The service
php_translation.storage.defaultis now public. - The XliffDumper does not backup existing files before creating dump. This is the default behavior in Symfony 4.
Metadata::$noteswill not change when runningMetadata::getAllInCategory()
-- Symfony 4 issues with the DownloadCommand.
- Support for Symfony 4
- Support for
descTwig filter - Support for extract/update only for one bundle
- Dump configuration reference
- Improved statistics on WebUI
- Commands are registered as services
EditInPlaceResponseListener::__constructusesUrlGeneratorInterfaceinstead of the concreate classRouter- The
php_translation.edit_in_place.activatorservice is public
- Support for
descfilter in Twig.
- Twig extension
TranslationExtensionwas renamed toEditInPlaceExtension
- Symfony 4 support
- New
--cacheoption on thetranslation:downloadallowing to clear the cache automatically if the downloaded translations have changed. - Support for Yandex translator
- Wrong paths in web profiler when using Twig2.x.
- Some JavaScript errors.
Major improvements on this version. Be aware that the default format to store translation has changed to XLIFF 2.0. If you run the extract command you will automatically get updated files.
- More extractors from
php-translation/extractor - Show status after extract command
- Added status command
- Support for PHPUnit6
- Support for
php-translation/symfony-storage0.3.0 - Using dumper and loader from
php-translation/extractor CatalogueCounterto show statistics about a catalogue- Lots of more tests. Test coverage increased from 27% to 69%
Importerreturns anImportResultvalue object- Improved internal management of metadata. Introduced a new
Metadatamodel - Renamed
MetadataAwareMergedtoReplaceOperation, read the class doc for the updated syntax
- Issue with WebProfiler's
ClonerDataon Symfony 3.3
- Removed
WebUIMessageandEditInPlaceMessage. UseMessagefromphp-translation/commoninstead - Removed metadata related functions from
CatalogueManager
- Improve UI/UX in Profiler (loader during AJAX requests, select/deselect all messages)
- Do not throw exception when SF Translation collector is not found.
- Fix incorrect EditInPlace activation on Twig
is_safecomparison
- When using EditInPlace, we only mark twig filters (
trans&transchoice) as "safe" when EditInPlace in active.
- Add meta informations from the profiler to
Translation\Common\Model\Message
- Make Dependency Injection work with Twig1
- HTML fixes on profiler page
- Support for Symfony 3.3.x
- Option to not show "untranslatable" in WebUI
- Make sure we fail with an exception if SfTranslation is not enabled
- Improved testing
- Added translation cache dir on warmup
- More tests
- Using Extractor 1.1.1.
- Support for Twig2
- Allow to pass options ot the dumper
- Use stable version of extractor
- Clear cache when updating translations with EditInPlace
- Updated namespace for EditInPlace feature
- Bug when DataCollector might be missing
- Better regex for EditInPlace attribute replacement
CatalogueWriter- Commands for downloading and syncing translations
- Added
Configurationmodel to work with theConfigurationManager. - Implementation for all methods in the
StorageService
Translation\Bundle\Service\CatalogueFetchermoved toTranslation\Bundle\Catalogue\CatalogueFetcher- Made most (if not all) classes final.
CatalogueFetcherrequires aConfigurationobject.
- Dead code in the
SymfonyProfilerController FileStoragewas moved tophp-translation/symfony-storage
- The bundle works without any configuration.
- You may have an config named "default".
First release.