Skip to content

provide ext-gettext#1

Open
glensc wants to merge 1 commit into
smmoosavi:masterfrom
glensc:patch-1
Open

provide ext-gettext#1
glensc wants to merge 1 commit into
smmoosavi:masterfrom
glensc:patch-1

Conversation

@glensc

@glensc glensc commented Sep 27, 2014

Copy link
Copy Markdown

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
Copy Markdown
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

gggeek commented Jul 14, 2025

Copy link
Copy Markdown

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