v3.11.0
strategy config accepts DeepL, AI (via Kirby Copilot), or any custom Strategy implementation β including a closure for one-off integrations.π Features
- Pluggable translation strategies: New
johannschopplich.content-translator.strategyconfig option accepts'deepl','ai', aClosure, or a customStrategyinstance. See the strategies documentation. - PHP classes: First-class PHP API for programmatic translation. Run translations from CLI, hooks, or any custom workflow. See the PHP classes documentation.
β οΈ Deprecated
translateFnconfig option: Use'strategy' => $closureinstead β the closure signature is identical. Will be removed in v4. See the migration guide.


