You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just found your plugin and was wondering, if you found a way to use Gettext's global __() function instead of Laravel's (setting config-option functions to true)? Because I struggled doing so, whether I'm trying my own solution or using your package.
vendor/gettext/gettext/src/translator_functions.php:
Cannot redeclare __() (previously declared in vendor/laravel/framework/src/Illuminate/Foundation/helpers.php:907)
The text was updated successfully, but these errors were encountered:
Thank you, I had hoped you have found a different way I'm not aware of yet.
But this approach makes the functions config setting non-functional, or do i miss the point here?
Yes, using this approach the functions setting is not functional, but this way is needeed because laravel functions are load before any other package file.
Hi!
I just found your plugin and was wondering, if you found a way to use Gettext's global
__()
function instead of Laravel's (setting config-optionfunctions
totrue
)? Because I struggled doing so, whether I'm trying my own solution or using your package.The text was updated successfully, but these errors were encountered: