What is the use of this below command?

bin/magento i18n:collect-phrases -m

explain me briefly.



Absolute file system path and file name of a .csv file that contains the combined translation dictionary and meta-information necessary for breakdown into a language package.

Use bin/magento i18n:collect-phrases to create the .csv file then create the language package as discussed in Create directories and files.

-m --mode If a target file already exists, specifies whether to replace the existing language package or merge with the new language pack. Merging overrides any phrases that existed and adds new ones.

Values: merge or replace (default).

For More details :


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.