Hello,
In the context of Asp.Net Zero, what is the best solution to localize application content, from the DB to the entity properties ?
Thanks for any advices
3 Answer(s)
-
0
Hi,
AspNet Zero or ABP don't have anything built in for entity localization. There are some known ways of doing this but I prefer to use one table for non localizable entity properties and one table for localizable entities.
For example
Product
- ID
- Price
- etc...
ProductLingual
- ProductId
- LanguageCode
- Name
But it is better if you search it on the web and decide the best one for yourself :).
Thanks.
-
0
Hello ismcagdas,
Thanks for your replies. We do like you explain in other .NET project not using AspNet Zero.
We make also some modifications in the DB Context to support the localization by adapting some treatments.
Best regards,
Albert
-
0
Thanks @expertit,
We are also thinking to bring entity localization support to ABP Framework but we didn't think it deeply. Because of that I cannot offer you a better/detailed way at the moment.