Can't install tamil package in magento 2.3.3
-
18-03-2021 - |
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.
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
Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange