locked
multi cultures in an efficient way RRS feed

  • Question

  • User1367540698 posted

    Hi..

    I know how to implement locallization/globalization through cultures in .Net. But i dont know the impacts over it .

    I want to develop a multi language or multi currency functionality according to each individual depending upon its localized area.

    like MSDN, Google and Facebook. I will have to convert all data. For example : there are 20 languages .

    My application consists too much bulky operations(transactions) and i don't want to take risk to save data as double in database.

    Anyone has some alternative solution instead of saving into the database.

    Kindly Suggest.Thanks

    Thursday, February 2, 2012 12:12 AM

Answers

  • User-821857111 posted

    You can use Resource files instead. http://msdn.microsoft.com/en-us/library/fw69ke6f(v=vs.100).aspx

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, February 2, 2012 12:51 AM
  • User-821857111 posted

    Resource files compile to classes with loads of properties. Your code reads the values of those. They will likely be a lot more performant than multiple database calls. On the other hand, they are not easily edited, so if your data needs to changed by users, you are better off using a database.

    You will have to test to see if either method is likely to lead to performance problems. No one can answer that for you in a forum.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, February 2, 2012 2:13 PM
  • User-821857111 posted

    See if anything here helps: http://support.microsoft.com/kb/231282

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Friday, February 3, 2012 1:07 PM

All replies

  • User-821857111 posted

    You can use Resource files instead. http://msdn.microsoft.com/en-us/library/fw69ke6f(v=vs.100).aspx

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, February 2, 2012 12:51 AM
  • User1367540698 posted

    What about the Performance overheads? Data could be in large amout.

     

    Will be an efficient way or database aprroach will be an efficient way?

    Thursday, February 2, 2012 6:39 AM
  • User-821857111 posted

    Resource files compile to classes with loads of properties. Your code reads the values of those. They will likely be a lot more performant than multiple database calls. On the other hand, they are not easily edited, so if your data needs to changed by users, you are better off using a database.

    You will have to test to see if either method is likely to lead to performance problems. No one can answer that for you in a forum.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, February 2, 2012 2:13 PM
  • User1367540698 posted

    Thanks Mike.

    It was really a nice reply.

    Can you provide some statistics about the measurement specific to performance/efficiency?

    Friday, February 3, 2012 7:21 AM
  • User-821857111 posted

    See if anything here helps: http://support.microsoft.com/kb/231282

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Friday, February 3, 2012 1:07 PM