MageSmith
i18n · Magento 2.4.9 (extracted from source · curated examples)

i18n:collect-phrases

Collects translatable phrases from the codebase into a CSV file.

Synopsis

bin/magento i18n:collect-phrases

Examples

Extract every __() / ->__() phrase from a module into lang.csv.

bin/magento i18n:collect-phrases -o lang.csv -m app/code/Vendor/Module

See also

Every Magento dev tool, in one hosted workspace.

Free to sign up. Nothing to install. Drafts, audits, and projects saved across every tool.