Results 1 to 5 of 5

Thread: [RESOLVED] Some qustions about Localization

  1. #1

    Thread Starter
    PowerPoster motil's Avatar
    Join Date
    Apr 2009
    Location
    Tel Aviv, Israel
    Posts
    2,143

    Resolved [RESOLVED] Some qustions about Localization

    Hi.

    if i have website that is been translated to about 30 languages, thats mean i have 30 resx files correct?

    my default language is english, now, if i want to add another string to the English resx files do i have a way to automatically add it to all the other resx files that stored in my site App_GlobalResources folder ?

    second question, is there a way to let users update the resx files online ? in my site some of the users are responsible to their language translation, can i let them update the file while they're logged ?


    Thanks
    * Rate It If you Like it

    __________________________________________________________________________________________

    "Programming is like sex: one mistake and you’re providing support for a lifetime."

    Get last SQL insert ID

  2. #2

    Thread Starter
    PowerPoster motil's Avatar
    Join Date
    Apr 2009
    Location
    Tel Aviv, Israel
    Posts
    2,143

    Re: Some qustions about Localization

    After doing some research I now i have doubts if i should use this feature, some of the updating process looks like a pain to me, i did in the past translating system for my website and i stored all the strings in the database and pulling them by the "language" session of each user. this system works fine and it almost had no drawbacks, i can now re-create the system for my new website this time i can even improve it by using classes (my old one was written with asp classic), so basically my question is will it be bad idea? should i stick to the asp.net multilingual features?
    * Rate It If you Like it

    __________________________________________________________________________________________

    "Programming is like sex: one mistake and you’re providing support for a lifetime."

    Get last SQL insert ID

  3. #3
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: Some qustions about Localization

    If you're going to let users update the translations, then you don't want to store it in RESX and yes, the database would be more helpful.

    When it comes to using the resource strings in your application, you can likely write a custom ResourceProvider that talks to the database. You then write a separate interface that allows the user to update individual values in the resource tables.

  4. #4

    Thread Starter
    PowerPoster motil's Avatar
    Join Date
    Apr 2009
    Location
    Tel Aviv, Israel
    Posts
    2,143

    Re: Some qustions about Localization

    Thank you Mend,

    i think I'll just do it my way with the website translation.
    * Rate It If you Like it

    __________________________________________________________________________________________

    "Programming is like sex: one mistake and you’re providing support for a lifetime."

    Get last SQL insert ID

  5. #5
    PowerPoster gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,963

    Re: [RESOLVED] Some qustions about Localization

    Interesting, I wasn't aware that you could provide a Custom Resource Provider. Good to know!! Let us know how you get on motil.

    Gary

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width