Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 5954363
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T17:57:37+00:00 2026-05-22T17:57:37+00:00

I need a help in localizing my Wpf .net 3.5 application. I am going

  • 0

I need a help in localizing my Wpf .net 3.5 application. I am going to give only the exe file to my cient with which he will create setup for his users. My client wants to add files for localization by himself.

The general method of localization is creating .resx files for each languages and set the language in CurrentUICulture. but since, he cant use resgen tool to create resource files, I want to know the best method to let him add files in txt,excel,xml format to make the localization.

PS: reading through stream and assigning the key is the only way?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T17:57:38+00:00Added an answer on May 22, 2026 at 5:57 pm

    If you cannot use the resgen Tool a simple textfile wit Key-Value Pairs would be the simplest way. And if you just staying with simple strings you should use just this. Name them after the default convention with the language in the name to identify to correct file to load and write yourself a custom resourceManager that load this files at startup or on demand into a Dictionary to access them.

    Edit:

    I go a bit more in details about this…

    I would create a resource manager that
    has static accessors for all used
    resourcefiles where just the fallback
    resource is static typed. I guess your
    language is defined at startup so just
    load the fallback and the defined
    language files each into a dictionary
    and both dictionaries in a static
    typed for this resource type. Use a
    GetString(“name”, Culture) to load a
    string. You can do the lookups for the
    culture in the resource dictionary and
    if one key is missing do a fallback to
    the static one.

    Edit II:

    You can ZIP the text-files using one
    of the .Net libraries out there to
    prevent anyone from open and change
    the content. For additional security
    you can also add a password to the
    zip. So you end up with smaller files
    plus the ability to modify the files
    with any ZIP program. For sure you
    should also change the file
    extension.

    Hope this helps

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

need help to read xml file. i have one xml file which i want
need help to create regular expression matching string www.*.abc.*/somestring Here * is wild card
Need help... I have 3 classes, Manager which holds 2 pointers. One to class
Need help with a wordpress problem. I need to edit the query.php to ONLY
Need help with following situation: Users can generate their own data structures which are
Need Help in converting this to VB.NET public void GetCustomers(Action<IEnumerable<Customer>> onSuccess, Action<Exception> onFail) {
Need help for implementing PUSH notification in android. wanted to know from which android
Need help with converting my VB.NET DTOs so that they can be used by
Need help in figuring out, why the downloaded file size is 0 bytes? On
Need help in figuring out a tool which can convert a flash (.swf) chart

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.