Last post Jun 20, 2017 04:38 AM by hkholakiya
Jun 08, 2016 09:09 AM|cicciuzzo|LINK
I'm developing for test some new features...
I would like know if there is something important to do in service and repository layer about localization...
Can I manage all in web layer?
I have a big database... I must have a table for each entity to translate or can I have other approach?
I look some approach in the web but I think a bit complicated to manage ... exist an easy way?
Jun 20, 2017 04:38 AM|hkholakiya|LINK
In web there are two approaches you can use for implement Localization:
1) Using .Resx files
2) Using .xml files
For 1, you can not update resource files run time programmatically, but in xml file you can update keys run time.
For both you can make separate layer and use same resources in multiple projects.
You can create separate project and from project property make access modifier public. Reference this layer to web and get keys access there.
You can create xml files in your web project. after that create layer and use project xml files for localization.
Please let me know if you needs further details.