As per other open-source solutions, Magento enables multiple language support. You can generate and integrate multiple languages with Magento native and 3rd parties translation dictionaries.

If you want to translate custom module or theme in Magento, first enable the translation and then generate language followed by given syntax or example:

bin/magento i18n:collect-phrases [-o|--output=""] [-m|--magento]
bin/magento i18n:collect-phrases -o "/var/www/html/magento2/app/code/Magento/Vendor/i18n/en_US.csv" /var/www/html/magento2/app/code/Magento/Vendor

Thank you for reading!