Question

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.

Was it helpful?

Solution

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

Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange
scroll top