If you don't have access to Magento 2 backend, how to tell from the code which language to deploy? For example how do I know I should deploy this:

php bin/magento setup:static-content:deploy en_US

or

php bin/magento setup:static-content:deploy en_CA

closed as unclear what you're asking by Prince Patel, Jai, Manoj Deswal, Priyank, liyakat Mar 17 at 11:11

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

up vote 2 down vote accepted

You seem to have access to the server shell, so you can install n98-magerun 2 https://github.com/netz98/n98-magerun2.

You can then

  • either create a new admin user with a password of your choice
  • or perform a SQL query against the Magento 2 database to find all locales:

php n98-magerun2.phar db:query "SELECT * FROM core_config_data WHERE path = 'general/locale/code'"

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