Skip to content

Conversation

@glensc
Copy link

@glensc glensc commented Sep 27, 2014

this way this package could solve dependecy issues of packages having "require":"ext-gettext"

altho for this fully to work, would need to register functions in global namespace as well

provide ext-gettext
@smmoosavi
Copy link
Owner

This lib provide __ and _gettext functions. But ext-gettext provide many other functions. you can see list of them. it seems that "provide":"ext-gettext" is not correct option for this lib.
For adding this option, I must define all ext-gettext's functions and pass all text case defined by ext-gettext.

@gggeek
Copy link

gggeek commented Jul 14, 2025

See https://github.com/gggeek/polyfill-gettext for a proper attempt at polyfilling the php extension

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants