Right now, asp.net boilerplate framework supports localization for resources which is working well in system. I have to work on a site which is completely multilingual along with the data entered in the system. So, to do this, I have followed an article on codeproject
Now the issue I am facing is, because framework automatically saves changes at the end of the request, it also updates my tables. Basically, somehow i need to avoid the automatic update. One way is to modify the framework and remove the code which is saving changes at end of request and calling savechanges manually. Is there any other way ?
Thanks in advance for any help.
For the time being, I have a workaround to this issue. As per the article, the default language is stored in main table and other languages are stored in translation table. But I put default language too in translation table and not using the main table fields anywhere in the app to display.
I have to put all languages entry in translation table. It has solved the problem for the time being. The extra updates are happening but it does not affect the working.
So, as per my idea, we can add some fields in entity having notmapped option on and thus those will never gets updated in database because those will not be there in tables. I did not try that because of time limitations, but will check in some days.
For one of my project needs, I will implement in in near future. I'm thinking and trying some models. One of them is https://github.com/hikalkan/experimenta ... l-entities
You can check it. For example, there is a Product entity (which contans language-independent properties) and ProductTranslation entity (which contains language-specific properties). Product has many translations. When I decide the exact model, I'll implement it in the ABP.
I think you are talking about "Content Localization".
when I was working with Dotnetnuke it was not easy to find DNN modules that support ML (Multi Language) content, but was there some interesting efforts on codeplex , may you can take a look , it's close to Halil model. http://nuntiocontent.codeplex.com/
also I think content localization is now officially supported in all DNN modules (also this may give more ideas) http://www.dnnsoftware.com/community-bl ... alkthrough
for Lookups or Lists they have a different approach using resources , but it's working :roll: http://www.dnnsoftware.com/community-bl ... in-dnn-733
Thank you so much for the informations. I'll check them.
Since this is a feature request, please continue with this issue: https://github.com/aspnetboilerplate/as ... issues/297