1

php bin/magento setup:static-content:deploy ta_IN package not listed in language so showing that error while we install new language included (lib/internal/Magento/Framework)

But there is no such folder

/Magento/Framework

inside lib/internal

And there no custom packages available for tamil.

Is theres any custom packages to download ta_IN ? Thanks in advance.

Chirag Parmar
  • 739
  • 8
  • 19
Haerriz
  • 681
  • 6
  • 20

1 Answers1

1

Step 1:

Goto magento\vendor\magento\framework\Locale\Config.php

Add entry to Tamil 'ta_IN' inside protected $_allowedLocales = [];

$_allowedLocales = [
        'af_ZA', /*Afrikaans (South Africa)*/
        'ar_DZ', /*Arabic (Algeria)*/
        'ar_EG', /*Arabic (Egypt)*/
        'es_BO', /*Spanish (Bolivia)*/
         .
         .
        'ta_IN', /*Tamil (India) */
    ];

Step 2:

Run the following command

php bin/magento setup:static-content:deploy ta_IN -f

Now you can configure the Tamil language for your store view.

Store -> Configuration -> General -> Locale

enter image description here

  • I have done the following above one which you told but i still have the problem. I still get the error as shown below.

    There has been an error processing your request Exception printing is disabled by default for security reasons.

    Error log record number: 426313092784

    – Haerriz Nov 07 '19 at 07:17
  • @Haerriz usually this exception is thrown when we setup a wrong DB configurations . you can this thread which discuss abut this exception in detail. https://magento.stackexchange.com/questions/14207/exception-printing-is-disabled-by-default-for-security-reasons – Bala Varadarajan Nov 08 '19 at 07:16