The change log describes what is "Added", "Removed", "Changed" or "Fixed" between each release.
- 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-translation
dependencies
- Only add translation form
@desc
annotation to the default locale - Ensure storage exists before using it in commands
FileDumper::setBackup()
deprecation notice- Twig
strict_variabels
deprecation notice - Avoid global bootstrap overrides - apply styles via new .configs CSS class
- The
FallbackTranslator
will 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.3
andphp-translation/symfony-storage:0.5
- Support for dumping to .po files.
- Support for
SourceLocation
's context keytranslation
which adds a default translation to theMessage
. - Better respect blacklist and whitelist in
CatalogueFetcher
.
- Bug with config option
local_file_storage_options
not 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.default
is now public. - The XliffDumper does not backup existing files before creating dump. This is the default behavior in Symfony 4.
Metadata::$notes
will not change when runningMetadata::getAllInCategory()
-- Symfony 4 issues with the DownloadCommand.
- Support for Symfony 4
- Support for
desc
Twig filter - Support for extract/update only for one bundle
- Dump configuration reference
- Improved statistics on WebUI
- Commands are registered as services
EditInPlaceResponseListener::__construct
usesUrlGeneratorInterface
instead of the concreate classRouter
- The
php_translation.edit_in_place.activator
service is public
- Support for
desc
filter in Twig.
- Twig extension
TranslationExtension
was renamed toEditInPlaceExtension
- Symfony 4 support
- New
--cache
option on thetranslation:download
allowing 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-storage
0.3.0 - Using dumper and loader from
php-translation/extractor
CatalogueCounter
to show statistics about a catalogue- Lots of more tests. Test coverage increased from 27% to 69%
Importer
returns anImportResult
value object- Improved internal management of metadata. Introduced a new
Metadata
model - Renamed
MetadataAwareMerged
toReplaceOperation
, read the class doc for the updated syntax
- Issue with WebProfiler's
ClonerData
on Symfony 3.3
- Removed
WebUIMessage
andEditInPlaceMessage
. UseMessage
fromphp-translation/common
instead - 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_safe
comparison
- 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
Configuration
model to work with theConfigurationManager
. - Implementation for all methods in the
StorageService
Translation\Bundle\Service\CatalogueFetcher
moved toTranslation\Bundle\Catalogue\CatalogueFetcher
- Made most (if not all) classes final.
CatalogueFetcher
requires aConfiguration
object.
- Dead code in the
SymfonyProfilerController
FileStorage
was moved tophp-translation/symfony-storage
- The bundle works without any configuration.
- You may have an config named "default".
First release.