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 936987
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T21:24:07+00:00 2026-05-15T21:24:07+00:00

Localization/Globalization is pretty easy in Visual Studio using RESX files. I just add a

  • 0

Localization/Globalization is pretty easy in Visual Studio using RESX files. I just add a resource file, like MyTextSnippets.resx, add key/value pairs, and create copies for every language I’d like to support like MyTextSnippets.de.resx, MyTextSnippets.fr.resx etc.

Now think of longer texts, where the String resource editor grid doesn’t work very well. No problem, just choose “Add Resource | Add New Text File” from the designer, and you can edit as many text files as you want. Example: I add MyTemplates.resx, and to this RESX I add a file called SomeEmailTemplate.txt. Works fine so far, however when a create a copy of the resx file, say MyTemplates.de.resx, and open SomeEmailTemplate.txt from there, it will open always the same file. If you look at the details, the text file will not be embedded in the resx container, but it is created in a global folder “Resources”, and the resx files just hold a reference, all to the same file.

I can’t figure out how to localize it. Any idea?

Of course, I could embed add a text file for every language, and at runtime, enumerate the available text files and try to find the best match for UI culture of the current thread. However this doesn’t feel right, as all that magic is available out of the box for strings and designer properties.

  • 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-15T21:24:08+00:00Added an answer on May 15, 2026 at 9:24 pm

    Create a folder for each localized language you want, place the respective txt file in the folder and reference that.

    Read about globalization/localization best practices here.

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

Sidebar

Related Questions

For localization I'm using the Resource-file (.resx files) functionality in .NET, but I'm wondering
I recently figured out how to do localization in MVC using resource files containing
I did the localization is using the resources in seperate .resx files.But my requirement
We would like to enumerate all strings in a resource file in .NET (resx
I'm doing .NET Localization with resource files and I encountered with following problem: I
Definitions: Files: Having the localization phrases stored in a physical file that gets read
I've been doing localization for my WPF application by storing strings in .resx files.
I'm using the following route to handle localization on my ASP.NET MVC Application routes.MapRoute(Globalization,
I am a student C# programmer. I am just learning Localization and Globalization. I
Im just starting with localization today and need some information. I have a project

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.