Skip to content

Releases: printful/php-gettext-cms

Add TypeScript file scanning, bump PHP version requirements

19 Mar 16:19
c272f3c

Choose a tag to compare

  • TypeScript files are now scanned (uses the same JS scanner)
  • Update composer library requirements

Upgrade dependencies. PHP8 support.

16 Nov 19:23

Choose a tag to compare

Prepared code for PHP8.

Improve javascript directives

08 May 16:43
5a0045f

Choose a tag to compare

add v directives to scanner config (#6)

Co-authored-by: Viktor Morgunov <viktor.morgunov@printful.com>

Allow passing locales to manager for file export

06 Jan 13:38

Choose a tag to compare

v1.9.1

Allow passing locales for file export with a fallback to default loca…

Use LC_MESSAGES, LC_TIME when setting locale.

21 Aug 11:15
f65486f

Choose a tag to compare

Don't use LC_ALL for setting locale, only LC_MESSAGES and LC_TIME to prevent number localization (when casting float to string e.g.)

Handle files without extensions

14 Nov 14:27

Choose a tag to compare

v1.8.3

Handle files without extensions

Various improvements

28 Oct 13:33

Choose a tag to compare

  • Format code to PSR-12
  • Public constructor for MessageManager
  • Added MessageArrayRepository (former Stub class for tests)

Significant speed increase for multiple domain scan

07 Oct 12:48
fee58a4

Choose a tag to compare

Multi domain scan speed increase (#2)

Significant speed increase when scanning for multiple domains

Allow scanning for specific domains, and option to skip unused translation disabling.

30 Apr 10:00

Choose a tag to compare

\Printful\GettextCms\MessageExtractor::extract now accepts a third parameter - $domains. Allows specifying which domains to scan for.

\Printful\GettextCms\MessageManager::extractAndSaveFromFiles now accepts a parameters $domains and $disableUnusedTranslations that allows skipping the unused translation disabling.

Downgrade PHP version requirement to 7.0

10 Sep 10:11

Choose a tag to compare

v1.7.1

Downgrade composer requirement to 7.0