Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PS_COUNTRY list ? #383

Open
krodelabestiole opened this issue Apr 28, 2024 · 0 comments
Open

PS_COUNTRY list ? #383

krodelabestiole opened this issue Apr 28, 2024 · 0 comments

Comments

@krodelabestiole
Copy link

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 :

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 !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant