Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Translator Laravel Package

gettext/translator

Lightweight PHP translation layer for gettext/gettext. Use Translator to load PHP array translations without the native gettext extension, or GettextTranslator to leverage the extension with the same API. Includes global helper functions for template-friendly __().

View on GitHub
Deep Wiki
Context7
1.2.3

Added

  • Add "format" to ArrayGenerator options [#13]

Fixed

  • Fix "null as an array offset" deprecation [#12]
1.2.2

Fixed

  • ArrayGenerator with includeEmpty breaks generated .php file [#10]
1.2.1

Fixed

  • Support for PHP 8.4 [#9]
1.2.0

Added

  • Option to generate prettier PHP code [#8].
1.1.1

Security

  • Updated the plural form conversion to accept a limited character set [#5]
1.1.0

Added

  • Option to include empty translations in the ArrayGenerator [#3]
1.0.1

Fixed

  • Added PHP 8 to composer.json
  • Define functions only if they are undefined [#1]
1.0.0

First version

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
elmogy/larafast
xeviant/laravel-paystack
gorilladash/laravel-website-sdk
martialbe/flysystem-oss
chondal/3312client
jeroen-g/flickr
opscale-co/nova-genbi
itsjustvita/laravel-retention
tequilarapido/trackit
gregsphotography/site-builder-filament
cabaoctavio/laravel-query-log
gregsphotography/site-builder-components
io-digital/clickatell
snowsoft/laravel-admin
oxygen/auth
relicsoftware/barakah-payment-gateway
tobya/work-with-composer
equipc/laravel-email-validator
equipc/laravel-email-database-log
adedsec/nova-translated-labels