.resx vs database vs custom solution for providing Localization/Globalization

后端 未结 5 1826
北海茫月
北海茫月 2020-12-14 06:19

At my office, we have had a long-standing debate about Localization/Globalization and how to handle it. One side pushes for the Resource (.resx) file route built in to ASP.N

5条回答
  •  感动是毒
    2020-12-14 06:49

    As all the above are true, I want to add some additional insights.

    I tend to use .resx based localisation, when working on "static" projects/websites like Dashboards or other small websites, which are focused on a specific usergroup.

    When working on larger and more "dynamic" projects like shops, service-offerings, etc. (esp. when content is localized - not only labels) I like to use database localisation.

    When you are developing on larger projects each language is maintained by another person, who is not necessarily in your project (especially in community-projects). Thus maintenance of different languages becomes a real hassle. On the other side providing users some good/easy UI to update their language is time-consuming as well. So try to find a good path for your project.

提交回复
热议问题