Skip to content

Add PHP extension gettext - #12259

Open
c-knof wants to merge 1 commit into
ILIAS-eLearning:trunkfrom
kroepelin-projekte:feature/trunk/ck/add-ext-gettext
Open

c-knof wants to merge 1 commit into
ILIAS-eLearning:trunkfrom
kroepelin-projekte:feature/trunk/ck/add-ext-gettext

Conversation

@c-knof

@c-knof c-knof commented Oct 23, 2026

Copy link
Copy Markdown
Contributor

ILIAS ships the translations of its language modules as gettext files and serves them through native gettext (feature request "PO files", accepted with native gettext). Every request loads the module common, so without the extension, or without the C.utf8 locale of the C library, the whole user interface shows identifiers instead of texts.

Require ext-gettext in composer.json (composer.lock: platform and content-hash only), name the extension in the PHP setup of the GitHub workflows that run composer install, and list it with the locale among the requirements in docs/configuration/install.md.

ILIAS ships the translations of its language modules as gettext files
and serves them through native gettext (feature request "PO files",
accepted with native gettext). Every request loads the module `common`,
so without the extension, or without the `C.utf8` locale of the C
library, the whole user interface shows identifiers instead of texts.

Require `ext-gettext` in composer.json (composer.lock: platform and
content-hash only), name the extension in the PHP setup of the GitHub
workflows that run composer install, and list it with the locale among
the requirements in docs/configuration/install.md.
@c-knof c-knof added jour fixe dependencies Pull requests that update a dependency file labels Oct 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file jour fixe

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant