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

  • Home
  • SEARCH
  • 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 568109
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T13:09:15+00:00 2026-05-13T13:09:15+00:00

We are developing products that will be used in the following way: Various shared

  • 0

We are developing products that will be used in the following way:

  • Various shared libraries which may be used by multiple products. I anticipate these libraries will mostly need to access string resources that contain error messages/exceptions.
  • Various end-user based applications, designed to run as standalone apps on a PC. They will be required to support multiple languages upon deployment/installation.
  • Various web-sites which may be required to support multiple languages either at deployment time or possibly at runtime (i.e. minimal or zero downtime). Potentially the site might need to support multiple languages at the same time if being accessed globally.
  • We may be required to allow customers access to our language files for editing themselves. We would not wish to allow them access to our source code (other than the resource files/dlls) in order to achieve this.
  • We might need to incorporate a facility to log exceptions in our native language (English in this case) and display them in the translated language. This will help us debug our customers solutions in the field.

I am already aware of products like RCWinTrans and handling multiple languages in VC++/MFC applications. However, the requirements we are faced with here are more extensive and thus require us to make a few up front decisions that could be difficult to change long term, so ideally we want to make the best choice now.

Based on my own knowledge, I have a few questions although I may be missing some tricks with .net that will be happily received. Here are my questions:

  1. What would be best? Put all our resources in a seperate DLL per VS solution OR put the resources in each VS project. The way I see it per solution is easier to manage, modify, and allow customer access. The per project solution seems cleaner though and makes the individual projects more portable. This method would apply to our shared library based solutions as well as our end-application based solutions.
  2. Does the solution above still stand with web sites? Is there a better way? Does this way require downtime?
  3. Is it possible to have two seperate resource files loaded at once i.e. if we want to log the exceptions in English but supply them back up the food chain (as a message in an exception) in the translated language? Are there any tricks we can use to automate this like AOP?

Thanks in Advance,

Roger

  • 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-13T13:09:16+00:00Added an answer on May 13, 2026 at 1:09 pm

    Have you considered using an Inversion of Control container like StructureMap or Unity? That may allow you to keep the default resources together with the project (which IMHO makes most sense), while still allowing a customer to locally override resources as necessary.

    As an example, assume you have the following interface:

    public interface IResourceSupplier
    {
        // Returns the localized text for a given identifier.
        string Localized(string identifier);
    
        // Returns the invariant (English) text for a given identifier.
        string Invariant(string identifier);
    }
    

    Using IOC, you could create a centralized resource supplier for the solution which would check for user-supplied overrides. If no user override is provided, then you could query each of the project-specific resource suppliers (detected at application startup) until you locate one which returns the desired resource.

    Obviously, depending on your needs you may need to tweak for performance, for example by caching frequently used resources. Using IOC does give the advantage that as long as the interface does not change, plugging in an alternate implementation can be a relatively trivial task.

    Does this help?

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

Sidebar

Ask A Question

Stats

  • Questions 273k
  • Answers 273k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer With the decorator pattern, you could possibly do it. Character… May 13, 2026 at 2:09 pm
  • Editorial Team
    Editorial Team added an answer SSMS Express is a free download. It is the Sql… May 13, 2026 at 2:09 pm
  • Editorial Team
    Editorial Team added an answer I think I've had a break through. cck/options_widgets.module optionwidgets_select_process($element, $edit,… May 13, 2026 at 2:09 pm

Related Questions

I'm having a truly... bizzare error in none other than Internet Explorer with a
I have been tasked with developing a new retail e-commerce storefront for my current
We are developing a web application that will be sold to many clients. There
Our team is about to start a SAAS web application geared toward small businesses.
I'm engaged in writing a product using LinqToSql for data-access. While we're rapidly developing,

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.