josseve/module-translation-helper

N/A

安装: 19

依赖者: 0

建议者: 0

安全: 0

星标: 0

关注者: 0

分支: 5

类型:magento2-module

v0.2.7 2024-09-11 15:20 UTC

This package is auto-updated.

Last update: 2024-09-11 15:23:39 UTC


README

Build Status PRs Welcome

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