Locale Tools
Locale Tools (ltools) automates translation workflows by providing developer services for importing PO files and managing translation strings programmatically. This enables custom modules, update hooks, and deployment scripts to easily seed translations or import PO files during deployment.
Locale Tools (ltools) provides developer services for programmatic PO file import and translation string management.
Use it in custom modules, update hooks, and deployment scripts to automate translation workflows.
Typical use cases: seeding translations during hook_update_N(), importing PO files in a CI/CD deploy step, or building a custom translation import UI backed by a real service layer.
There is no admin UI, configuration form, or content type. After enabling the module, use its services directly in PHP:
No additional modules or libraries are required beyond Drupal core. The locale module (core) must be enabled.
None required. Pairs naturally with any custom deployment or migration module that needs to seed translations.