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

default wrong locale for new sites #316

Closed
wladimiravila opened this issue May 6, 2024 · 1 comment
Closed

default wrong locale for new sites #316

wladimiravila opened this issue May 6, 2024 · 1 comment

Comments

@wladimiravila
Copy link

wladimiravila commented May 6, 2024

Hi everyone, I'm having a problem when trying to create a new shop with a specific template for setup like this:

\Aimeos\Setup::use(new \Aimeos\Bootstrap())->context($context)->verbose('vv')->up($code, 'my_custom_template');

It doesn't matter my data code, for all new shops are the setup EUR and en language

https://github.com/aimeos/aimeos-core/blob/master/setup/MShopAddLocaleData.php#L64

This is a problem because not all new shops aren in EUR neither en language , and if the request doesn't match it, the portal throws an error.

The custom template creation feature should allow the developer to customize all data entered into the database for new shops.

Could be necessary to create a data class inside de setup/default folder

Regards

WladimirAvila

@aimeos
Copy link
Owner

aimeos commented May 6, 2024

We've removed adding that default locale as it shouldn't be necessary in any way. You can get the latest code by executing composer req aimeos/aimeos-core:2024.04.x-dev

@aimeos aimeos closed this as completed May 22, 2024
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

2 participants