Open krodelabestiole opened 6 months ago
After having googled for a while I still can't figure out where I'm supposed to find country and language codes.
I've tried PS_LANGUAGE=fr and PS_COUNTRY=CH for switzerland but had this error :
PS_LANGUAGE=fr
PS_COUNTRY=CH
lasticot_new | PrestaShop\PrestaShop\Core\Localization\RTL\Exception\GenerationException: Cannot generate BO themes: "/var/www/html/admin-dev" is not a directory in /var/www/html/src/Core/Localization/RTL/Processor.php:178 lasticot_new | Stack trace: lasticot_new | #0 /var/www/html/classes/Language.php(261): PrestaShop\PrestaShop\Core\Localization\RTL\Processor->process() lasticot_new | #1 /var/www/html/classes/Language.php(1164): LanguageCore->add(true, false, false) lasticot_new | #2 /var/www/html/classes/Language.php(1437): LanguageCore::checkAndAddLanguage('he', Array, false, Array) lasticot_new | #3 /var/www/html/src/PrestaShopBundle/Install/Install.php(657): LanguageCore::installFirstLanguagePack('he', Array, Array) lasticot_new | #4 /var/www/html/src/PrestaShopBundle/Install/Install.php(1212): PrestaShopBundle\Install\Install->PrestaShopBundle\Install\{closure}() lasticot_new | #5 /var/www/html/src/PrestaShopBundle/Install/Install.php(658): PrestaShopBundle\Install\Install->callWithUnityAutoincrement(Object(Closure)) lasticot_new | #6 /var/www/html/src/PrestaShopBundle/Install/Install.php(460): PrestaShopBundle\Install\Install->installLanguages() lasticot_new | #7 /var/www/html/install/controllers/console/process.php(226): PrestaShopBundle\Install\Install->installDefaultData('PrestaShop', 'CH', 1, true) lasticot_new | #8 /var/www/html/install/controllers/console/process.php(152): InstallControllerConsoleProcess->processInstallDefaultData() lasticot_new | #9 /var/www/html/install/classes/controllerConsole.php(139): InstallControllerConsoleProcess->process() lasticot_new | #10 /var/www/html/install/index_cli.php(57): InstallControllerConsole::execute(17, Array)
If the list exists somewhere it would be nice to add a link in the documentation.
Thanks !
After having googled for a while I still can't figure out where I'm supposed to find country and language codes.
I've tried
PS_LANGUAGE=fr
andPS_COUNTRY=CH
for switzerland but had this error :If the list exists somewhere it would be nice to add a link in the documentation.
Thanks !