Skip to content

Packages ​

Every package has its own repository and release; its page here is its readme.

Core ​

Package
eugene-erg/icu-i18n-translatorThe translator: ICU messages, translation memory, files, providers.

File formats ​

Package
eugene-erg/json-formatter-icu-i18n-translatorJSON: FormatJS, i18next, vue-i18n, Laravel lang/*.json.
eugene-erg/php-array-formatter-icu-i18n-translatorPHP arrays, as Laravel keeps lang/en/*.php; never executed.
eugene-erg/yaml-formatter-icu-i18n-translatorYAML, as Symfony keeps translations/*.yaml.
eugene-erg/po-formatter-icu-i18n-translatorgettext PO: Plural-Forms, msgctxt, extracted comments, fuzzy.
eugene-erg/mo-formatter-icu-i18n-translatorgettext MO, the compiled catalogs gettext, PHP and WordPress load.
eugene-erg/l10n-php-formatter-icu-i18n-translatorWordPress .l10n.php files, read without running them.
eugene-erg/xliff-formatter-icu-i18n-translatorXLIFF 1.2 and 2.0: notes, states, inline markup.
eugene-erg/xcstrings-formatter-icu-i18n-translatorApple String Catalogs: every language in one file.
eugene-erg/android-resources-formatter-icu-i18n-translatorAndroid strings.xml: native printf resources or ICU strings.

Message syntaxes ​

Package
eugene-erg/laravel-syntax-icu-i18n-translatorLaravel :name placeholders and a

Translation providers ​

Package
eugene-erg/llm-icu-i18n-translatorAny language model: OpenAI-compatible servers, local models, command-line tools.
eugene-erg/claude-icu-i18n-translatorClaude through the Anthropic API or Claude Code.
eugene-erg/deepl-icu-i18n-translatorDeepL: context, formality, batches.
eugene-erg/google-cloud-icu-i18n-translatorGoogle Cloud Translation: Basic with a key, Advanced with a service account.
eugene-erg/azure-icu-i18n-translatorAzure AI Translator: regions, custom domains, Custom Translator.
eugene-erg/amazon-icu-i18n-translatorAmazon Translate, signed without the AWS SDK.
eugene-erg/libretranslate-icu-i18n-translatorLibreTranslate: open source, on your own server.
eugene-erg/google-informal-icu-i18n-translatorThe free Google Translate endpoint, for development and drafts.
eugene-erg/http-provider-icu-i18n-translatorWhat the HTTP providers share, for a provider of yours: retries, errors, markup, batches.

Storage and sync ​

Package
eugene-erg/dbal-icu-i18n-translatorThe translation memory on Doctrine DBAL: MySQL, MariaDB, PostgreSQL, SQLite.
eugene-erg/sync-icu-i18n-translatorKeeps a folder of translation files in step with its source language.

Laravel ​

Package
eugene-erg/laravel-icu-i18n-translateEloquent storage, the container binding and php artisan i18n:sync.
eugene-erg/laravel-google-informal-icu-i18n-translateThe Google provider registered in Laravel.

WordPress ​

Package
eugene-erg/wordpress-icu-i18n-translatorA plugin: wp icu-i18n sync translates a .pot into .po, .mo and .l10n.php; a zip for sites without Composer.

Other frameworks ​

Package
eugene-erg/symfony-icu-i18n-translatorA Symfony bundle: the translator as a service, providers by tags, bin/console icu-i18n:sync.
eugene-erg/codeigniter-icu-i18n-translatorCodeIgniter 4: services, spark icu-i18n:sync for app/Language.
eugene-erg/yii-icu-i18n-translatorYii 3: params and di for yiisoft/config, ./yii icu-i18n:sync for messages/.

Parsers ​

Package
eugene-erg/icu-message-format-parserICU MessageFormat parser (on peg-parser) and assembler.
eugene-erg/printf-format-parserprintf formats of C, Java (Android) and Objective-C, and their ICU equivalents.
eugene-erg/peg-parserParsing expression grammars: a string into a tree of nodes and tokens, with the place and reason of an error.
eugene-erg/string-parserSuperseded by peg-parser. Splits a string into a tree of regions by start and end patterns.