Skip to content

Releases: locomotivemtl/charcoal-translator

charcoal-translator 0.3.7

16 Aug 13:56
Compare
Choose a tag to compare

Complete commits list: 0.3.6...0.3.7

Summary:

  • Added support for custom message formatter as per symfony/translation v3.4.0
  • Added Translation::each() method to run a callback over each value with locale
  • Changed TranslatorConfig::setPaths() method to use new addPaths() method (Amends: abe8206)
  • Cleanup coding syntax

charcoal-translator 0.3.3

14 May 19:35
Compare
Choose a tag to compare

Added

  • AbstractTestCase as the basis for the component's test cases
  • Constant LocalesManager::DEFAULT_SORT_PRIORITY
  • Method LocalesManager::filterLocales() for pre-filtering inactive locales and assigning missing structure data

Changed

  • Rewrite README
  • Cleanup repository; Composer manifest, development dependencies, configs for Travis, PHPUnit, and PHPCS
  • Cleanup codebase; syntax, imported namespaces
  • Method LocalesManager::setLocales() to prepare locales
  • Split LocalesManagerTest::testSortedLocales() into two methods, one for PHP 7 and one for PHP 5

Fixed

  • Difference with internal sorting algorithm between PHP 5.6 and PHP 7
  • Hard constraints for locomotivemtl/charcoal-config
  • Issues reported by PHPStan, PHPCS, and PHPUnit

charcoal-translator 0.3.2

14 May 19:30
Compare
Choose a tag to compare

Highlights:

charcoal-translator 0.3.1

14 May 19:27
Compare
Choose a tag to compare

charcoal-translator 0.3.0

20 Nov 19:24
Compare
Choose a tag to compare

charcoal-translator 0.2.0

15 Nov 17:25
Compare
Choose a tag to compare
  • Added a new sanitize() method, to sanitize all language strings with a callback.

charcoal-translator 0.1.10

17 Oct 18:38
Compare
Choose a tag to compare
Merge pull request #3 from locomotivemtl/locale-from-host

Setting locale from domain/host

charcoal-translator 0.1.7

20 Sep 18:47
Compare
Choose a tag to compare
  • Fixed issues with LanguageMiddleware

Warning change middleware's configuration (path should not have the regexp separator anymore).

charcoal-translator 0.1.6

15 Aug 17:15
Compare
Choose a tag to compare

Fix translation replacements when array given.

charcoal-translator 0.1.5

29 Jun 15:04
Compare
Choose a tag to compare
  • Create message_selector in Translator's constructor if its not set from the outside
  • This fixes a breaking change from last "internal" commit.