Hi abphelpers, So I'm working on an hotel reservation website and i have many custom created entities (room types, Views ...) and i use a Xml file to provide localization. And as it's always changing i need to add xml entries and reload my web application everytime. Is there a way to "code" this operation by rereading only the modified xml file and not having to releoad the webapp? Thank a lot
3 Answer(s)
-
0
There is no such a method for now. I added an issue to implement it: <a class="postlink" href="https://github.com/aspnetboilerplate/aspnetboilerplate/issues/509">https://github.com/aspnetboilerplate/as ... issues/509</a>
-
0
I would like this improvement available too.
Is there a possible workaround? Or a way that I could implement it myself?
I had no ideia I would have to rebuild the application to change texts in the xml and relied in this.
The reason is that the user's gonna change the xml and it doesn't have access to rebuild application.
Thanks again for the amazing work!
PS: I know it's free and you have already give such amount of time for it, I'm not requesting. I'm just saying =)
-
0
Hi,
Actually, current localization system thought to be static. But we implemented dynamic, database and tenant based localization for module-zero. Have you seen it: <a class="postlink" href="http://www.aspnetboilerplate.com/Pages/Documents/Zero/Language-Management">http://www.aspnetboilerplate.com/Pages/ ... Management</a> ? It internally manages caching itself.
If you don't want to use it, you can try to create a custom localization source since it's pluggable (implement ILocalizationSource or derive from current dictionary based localization source).