Installing a Crowdin Magento 2 language pack

Oh, that’s pretty simple. I mentioned it in one of your other posts: Translating Magento 2 - Installing custom language pack(s) - #13 by digitalstartup. You don’t actually create a module.

You simply run the below command and it checks all modules currently installed in your copy of Magento 2 for Translation Opportunities (Opportunities are identified by reading PHP files, assuming they’ve been written properly). And then compiles them into a single convenient CSV file.

bin/magento i18n:collect-phrases -o "/var/www/html/fr_FR.csv" -m

Once you’ve added/amended all of your translations in the fr_FR CSV that you just generated, simply distribute your fr_FR.csv file back into all of the modules with the below command. This splits that one large file back into a bunch of smaller files that end up in the i18n folders of the modules:

bin/magento i18n:pack /var/www/html/fr_FR.csv -d fr_FR

Note: Commands assume that you want to create French (fr_FR) translations