L10n.dev AI Localization Automation
Version updated for https://github.com/l10n-dev/ai-l10n to version v1.4.1.
- This action is used across all versions by 0 repositories.
Action Type
This is a Composite action.
Go to the GitHub Marketplace to find the latest changes.
Action Summary
The ai-l10n GitHub Action automates app localization by leveraging AI to translate i18n files into 165+ languages while preserving context, formatting, and data types. It supports a wide range of text-based localization file formats and offers features like smart project structure detection, incremental updates for new strings, intelligent pluralization, and error handling. This tool simplifies and accelerates the localization process for developers, ensuring accuracy and efficiency in translating applications for global audiences.
What’s Changed
What’s Changed
Added
- Multi-Format Support - All text-based localization formats are now supported (YAML, PO/gettext, XLIFF, and any other format accepted by the API). The format is derived from the file extension and sent automatically. See supported formats
I18nProjectManager.detectLanguagesFromProject()now auto-scans paired extensions:.yaml/.ymland.xliff/.xlf(same behavior as.json/.jsonc)
Changed
ai-l10n-coreis now a fully documented, independently testable package- Added
README.mdwith full API reference forL10nTranslationService,ConsoleLogger,ILogger, and all types - Added test suite (
ConsoleLogger+L10nTranslationService, 49 tests) moved fromai-l10n-sdk - Added
scripts/verify.jsandtest/verifynpm scripts - Added
CHANGELOG.md
- Added
ai-l10n-sdkREADME: core-library API sections moved toai-l10n-corepackage docsvalidateLanguageCode()andnormalizeLanguageCode()moved fromI18nProjectManagertoai-l10n-core(languageUtils). Import fromai-l10n-coredirectly instead of using the manager
Full Changelog: https://github.com/l10n-dev/ai-l10n/compare/v1.3.0...v1.4.1