Hello
When i change the language, and i need the data also to change to arabic , data not from language XML file but from database what is your reccomendation for the same, currently for arabic i added a column in the table and display the arabic or english based on language selected.
Is this the right way.
please advise
Regards Anwar
3 Answer(s)
-
0
Hi,
Content localization is not directly supported by ABP at the moment. There is an issue for this <a class="postlink" href="https://github.com/aspnetboilerplate/aspnetboilerplate/issues/297">https://github.com/aspnetboilerplate/as ... issues/297</a> which can help you to develop this feature.
Are you planning to add only arabic and english or there will be other languages in the future ?
Thanks.
-
0
hello
Other languages too like french is next on the line. but cant keep extending columns of the same table, is there another way.
regards Anwar
-
0
Hi,
I cannot provide you a full solution but I can suggest you to store lingual information in other entities.
For example, let's say you have a product entity.
You can define two entities
Product
- Price
- StockCount ** other properties
ProductLingual
- ProductId
- LanguageCode
- Name
- Description