Project: Pomo

POMO — PO/MO Translation File Handling

WordPress gettext-based internationalization subsystem for reading, writing, and managing PO and MO translation files. Since: 2.8.0 Source: wp-includes/pomo/ Components Component Description class-translation-entry.md Encapsulates a single translatable string class-translations.md Base class:...

Stream Readers

Classes for reading streams of data, used by the MO file parser. Handles byte-level I/O with endian-aware integer reading and mbstring overload safety. Source: wp-includes/pomo/streams.php Class Hierarchy POMO_Reader ├── POMO_FileReader...

MO

Reads and writes MO (Machine Object) binary translation files — the compiled format used by gettext at runtime. Source: wp-includes/pomo/mo.php Since: 2.8.0 Extends: Gettext_Translations Properties Property Type Default Visibility Description...

NOOP_Translations

Provides the same interface as Translations but performs no actual translation. All lookups return the original string. Used as a stand-in when no translation file is loaded. Source: wp-includes/pomo/translations.php Since:...

Plural_Forms

A gettext Plural-Forms expression parser and evaluator. Converts C-like plural expressions (e.g., n != 1, n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1...

PO

Reads and writes PO (Portable Object) text-based translation files — the human-editable source format used by gettext. Source: wp-includes/pomo/po.php Since: 2.8.0 Extends: Gettext_Translations Constants Constant Value Scope Description PO_MAX_LINE_LEN 79...

Translation_Entry

Encapsulates a single translatable string with its translations, metadata, and context. Source: wp-includes/pomo/entry.php Since: 2.8.0 Properties Property Type Default Description $is_plural bool false Whether the entry contains a plural form...

Translations

Base class for a set of translation entries and their associated headers. Provides the core translation lookup interface. Source: wp-includes/pomo/translations.php Since: 2.8.0 Properties Property Type Default Description $entries Translation_Entry[] array()...

Gettext_Translations

Extends Translations with gettext-specific functionality: plural form expression parsing, header management, and dynamic plural form selection from the Plural-Forms header. Source: wp-includes/pomo/translations.php Since: 2.8.0 Extends: Translations Properties Property Type Description...

← Back to Chubes.net