After reading the complete translation documentation (here), I still have some questions / problems. The end goal is to create translations for my magento2 installation.
I run the following command to create a translation dictionary:
php bin/magento i18n:collect-phrases -o "translations.csv" -m c:\xampp\htdocs\magento2\
magento2 is the root path of my magento installation. Please note the
-m that is required to build a translation pack. If I ommit this parameter, the generated output is 400kb+ (but it contains only 2 columns). If I add the parameter, I only get a 4kb file (it contains the correct 3 columns format). Am I missing something here?
Then for a theme translation, I can ommit the -m parameter and after I made the translations for the default
luma theme, it's not replacing anything. I've changed my locale in administration to the correct one and also flush cache, rebuilt indexes.
php bin/magento i18n:collect-phrases -o "app/design/frontend/Magento/luma/i18n/nl_NL.csv" app/design/frontend/Magento/luma