upstreamable / drush-deploy-translations
Drush 插件,用于在部署时下载贡献翻译,并可选地添加自定义翻译。
1.0.0
2024-07-01 01:14 UTC
Requires
- php: >=8.0
- drush/drush: ^12 || ^13
README
入门指南
使用 composer 安装此包。之后,任何 drush updatedb
(包括 drush deploy
)都会更新翻译。
用法
它支持在 Drupal 根目录之上的 translations
目录中添加自定义翻译。例如,如果你有一个 /translations/es.po
文件,该文件将被导入到数据库中。