This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
symfony/src/Symfony/Component/Translation
Fabien Potencier 0dcf11102b feature #27655 [Translation] Added support for translation files with other filename patterns (javiereguiluz)
This PR was squashed before being merged into the 4.2-dev branch (closes #27655).

Discussion
----------

[Translation] Added support for translation files with other filename patterns

| Q             | A
| ------------- | ---
| Branch?       | master
| Bug fix?      | no
| New feature?  | yes
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #27644
| License       | MIT
| Doc PR        | -

This implements the #27644 feature request in case we accept it.

My vote is 👍 because the changes required are tiny and the resulting code is even more robust thanks to the new `preg_match()` call.

Commits
-------

0ee912dbd8 [Translation] Added support for translation files with other filename patterns
2018-06-25 12:22:58 +02:00
..
Catalogue fixed some deprecation messages 2017-12-31 06:12:25 +01:00
Command feature #27655 [Translation] Added support for translation files with other filename patterns (javiereguiluz) 2018-06-25 12:22:58 +02:00
DataCollector Merge branch '3.3' into 3.4 2017-10-24 16:12:06 +02:00
DependencyInjection Merge branch '3.4' into 4.0 2017-11-28 23:05:27 +01:00
Dumper Make sure to trim source if it is too long 2018-03-27 09:49:02 +02:00
Exception Revert "feature #26702 Mark ExceptionInterfaces throwable (ostrolucky)" 2018-05-30 09:26:09 +02:00
Extractor [minor] SCA 2018-06-22 08:03:15 +02:00
Formatter [Translation] Support adding custom message formatter 2017-09-12 13:17:01 +01:00
Loader [Translation] Improved the performance of the lint:xliff command 2018-06-20 19:36:22 +02:00
Reader Create an interface for TranslationReader and moved TranslationLoader to Translation component 2017-08-29 16:37:52 +02:00
Resources/schemas [Translation] Use unix-style EOL for xliff-core-1.2-strict.xsd 2018-04-07 15:20:24 +02:00
Tests [Translation] Added support for translation files with other filename patterns 2018-06-25 12:22:51 +02:00
Util [Translation] Improved the performance of the lint:xliff command 2018-06-20 19:36:22 +02:00
Writer made deprecation notices less verbose 2018-02-19 13:10:10 +01:00
.gitignore Added missing files .gitignore 2013-07-21 14:12:18 +02:00
CHANGELOG.md made deprecation notices less verbose 2018-02-19 13:10:10 +01:00
composer.json updated version to 4.2 2018-05-07 16:51:25 +02:00
DataCollectorTranslator.php Merge branch '2.8' into 3.3 2017-10-24 16:05:06 +02:00
IdentityTranslator.php removed useless PHPDoc 2017-09-30 07:00:23 -07:00
Interval.php [Translation] added Base Exception for the component. 2016-09-21 18:16:56 +01:00
LICENSE fixed years in copyright 2018-01-03 08:23:28 +01:00
LoggingTranslator.php Merge branch '2.8' into 3.3 2017-11-05 16:47:03 +01:00
MessageCatalogue.php Replace more docblocks by type-hints 2017-11-07 15:45:01 +01:00
MessageCatalogueInterface.php fixed CS 2018-05-16 14:49:49 +02:00
MessageSelector.php [Translation] Fix InvalidArgumentException when using untranslated plural forms from .po files 2017-12-11 15:28:24 -08:00
MetadataAwareInterface.php Fix doc blocks 2014-04-18 22:17:16 +02:00
phpunit.xml.dist fail when detecting risky tests 2017-04-12 09:39:27 +02:00
PluralizationRules.php Merge branch '2.8' into 3.4 2018-05-21 12:06:52 +02:00
README.md Updated all the README files 2016-03-04 08:12:06 +01:00
Translator.php fixed some deprecation messages 2017-12-31 07:59:27 +01:00
TranslatorBagInterface.php Adding use statement for InvalidArgumentException 2017-03-03 07:24:16 -08:00
TranslatorInterface.php Adding use statement for InvalidArgumentException 2017-03-03 07:24:16 -08:00

Translation Component

The Translation component provides tools to internationalize your application.

Resources