Skip to content

Releases: printful/php-gettext-cms

Upgrade dependencies. PHP8 support.

16 Nov 19:23
Compare
Choose a tag to compare

Improve javascript directives

08 May 16:43
5a0045f
Compare
Choose a tag to compare
add v directives to scanner config (#6)

Co-authored-by: Viktor Morgunov <[email protected]>

Allow passing locales to manager for file export

06 Jan 13:38
Compare
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
Compare
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
Compare
Choose a tag to compare
v1.8.3

Handle files without extensions

Various improvements

28 Oct 13:33
Compare
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
Compare
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
Compare
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
Compare
Choose a tag to compare
v1.7.1

Downgrade composer requirement to 7.0

Small fixes

17 Aug 11:57
Compare
Choose a tag to compare

JsBuilder does not export empty domains.
MessageRevisions should return same domain if revisioning is off even if revision file exists.