hi
You can create a new project, and then replace the database provider to npgsql to check whether our built-in features can be works
Can you try? This can rule out the problem with npgsql.
HI
can you share some code of your web api?
hi
Abp will set the DefaultRequestCulture
of RequestLocalizationOptions
as your default language
.
Then the Localization middleware will handle localization.
https://docs.microsoft.com/en-us/aspnet/core/fundamentals/localization?view=aspnetcore-5.0#localization-middleware-2
QueryStringRequestCultureProvider
CookieRequestCultureProvider
AcceptLanguageHeaderRequestCultureProvider
put Spanish by default.But whn I run the solution, my application is in english, and I can not change th language. On this case it should not take the default language from ABP which is Spanish?
Your browser request header may contains en
. (accept-language: en,es;q=0.9,es;q=0.8
)
So will still use en
, unless no language is found in QueryString
, Cookie
, AcceptLanguage
, the default language
will be used.
You can consider removing AcceptLanguageHeaderRequestCultureProvider
.
The language will be stored in cookies when the user selects a language.
Configure<RequestLocalizationOptions>(options =>
{
options.RequestCultureProviders.RemoveAll(x => x.GetType() == typeof(AcceptLanguageHeaderRequestCultureProvider));
});
hope this helps.: )
hi
According to the design, the audit log may be stored in different databases. Even in MongoDb.
So we do not recommend you to create a relationship for them. You can query the user's info based on the CreatorId.
hi
Maybe this is a bug of npgsql
.
https://github.com/npgsql/efcore.pg/issues/1859
You can create a new project, and then replace the database provider to npgsql to check whether our built-in features can be works.
hi
Can you try another database? For example, localdb or another computer.
hi
Host and tenant are independent. You should set their user roles and permissions separately.
Please reply if I misunderstanding your mean. : )
hi
If you using the new project without any changes, this is not normal.
Can you check the logs when create a tenant?
I create a new project(4.3.1) can't reproduce your problem?
It seems you're custom the login page.
Can your share your code?