Skip to content

Add library gettext/gettext - #12260

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

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

Conversation

@c-knof

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

Copy link
Copy Markdown
Contributor

The Language component maintains the translations of its modules in gettext files (feature request "PO files"): it reads and writes .po files, merges local changes and compiles the shipped files into .mo catalogs that native gettext serves. gettext/gettext provides this parsing, generation and compiling.

  • Needed: every language module of ILIAS is shipped as .po/.pot files.
  • Not easily implemented in ILIAS: the PO/MO formats (escaping, plural forms, contexts, comments, flags, binary MO tables).
  • Maintained and used beyond ILIAS: the standard PHP library for gettext files, already installed as a dependency of simplesamlphp.
  • Actively maintained, current version v5.7.3, pinned to major 5.

composer.lock: content-hash only, the package is already locked at v5.7.3.

The Language component maintains the translations of its modules in
gettext files (feature request "PO files"): it reads and writes .po
files, merges local changes and compiles the shipped files into .mo
catalogs that native gettext serves. gettext/gettext provides this
parsing, generation and compiling.

- Needed: every language module of ILIAS is shipped as .po/.pot files.
- Not easily implemented in ILIAS: the PO/MO formats (escaping, plural
  forms, contexts, comments, flags, binary MO tables).
- Maintained and used beyond ILIAS: the standard PHP library for gettext
  files, already installed as a dependency of simplesamlphp.
- Actively maintained, current version v5.7.3, pinned to major 5.

composer.lock: content-hash only, the package is already locked at
v5.7.3.
@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