josseve / module-translation-helper
N/A
v0.2.7
2024-09-11 15:20 UTC
Requires
- php: ~7.1.3||~7.2.0||~7.3.0||~8.1.0||~8.2.0||~8.3.0
- magento/framework: ~104.0.0||~103.0.0||~102.0.0||~101.0.0
- magento/magento2-base: ~2.4.0||~2.3.0||~2.2.0
Requires (Dev)
- magento/magento-coding-standard: ^4.0
- phpunit/phpunit: ~6.5.0
This package is auto-updated.
Last update: 2024-09-11 15:23:39 UTC
README
Underser_TranslationHelper Magento 2 模块
此模块将允许您获取翻译文件,同时具有排除已翻译文件的能力。
要求
Magento 2 平台
已在 Magento v2.4.5 上测试
如何安装
运行
composer require underser/module-translation-helper
./bin/magento setup:upgrade
如何使用
此模块将提供您 i18n:translation-helper 命令,运行
./bin/magento i18n:translation-helper --help
以查看可能的参数及其含义
使用示例
./bin/magento i18n:translation-helper --locale fr_FR --output ./var/fr_FR.csv --all
将扫描整个 magento 目录,并在 var 文件夹内创建 fr_FR.csv 文件。此文件将包含所有未翻译的 fr_FR 区域短语
./bin/magento i18n:translation-helper --locale fr_FR --output ./var/fr_FR.csv ./app/code/Vendor/Module
将仅扫描 app/code/Vendor/Module,并在 var 文件夹内创建 fr_FR.csv 文件。此文件将包含所有未翻译的 fr_FR 区域短语
许可证
MIT © 2019 Roman Sliusar