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

The Archive Base Latest Questions

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

I’ve read tutorials etc on the web about localization in Asp.Net and MVC, but

  • 0

I’ve read tutorials etc on the web about localization in Asp.Net and MVC, but I don’t think I get it. It all seems like a very messy way of handling pages if you do it as described…

Say I have a bunch of views with lots of paragraphs of text. The below would only be a partial example, there would usually be much more on a page:

<div id="homePageSidebar" class="roundedBox">
    <div class="infoBoxHeader">
        <h2>
            <%:Html.ActionLink("Who are we?", "About") %>
        </h2>
    </div>
    <div class="infoBoxContent">
        <p>
            Bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla.
        </p>
        <p id="frontpagedesc">
             Bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla.
        </p>
       <p id="frontpagedesc">
             Bla bla bla bla <a href="blabla">bla bla bla</a> bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla <i>bla bla bla</i> bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla.
        </p>
    </div>

</div>

So if I understand correctly, I am supposed to replace the text in each

tag with something like <%=ViewRes.SharedStrings.Blabla_paragraph%>, <%=ViewRes.SharedStrings.Blabla2_paragraph%> etc?

And on top of it, this text (with sometimes rather long paragraphs) should be entered in an editor that seems far from adapted to editing long paragraphs of text (the database-like editor for resource files)?

And then, instead of having easily edited view files I will have files filled with these resource identifiers (which I am sure will seem rather cryptic after a while)? And to edit content, I will have to jump back and forward from the resource file and the view…

And what about links, italics, etc. Will these be hardcoded in raw html in the resource file, or should the text be fragmented even further (text up until a link as one resource, and the link another resource, and the remaining text in the sentence a third resource)? I saw an example in one of the tutorials that looked like that, and this would make it even more absurd.

I find it hard to believe this is really the way you have to do it. So I feel like I’m probably missing something basic? Have I misunderstood the process of localizing an Asp.Net MVC site completely?

  • 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-22T15:07:58+00:00Added an answer on May 22, 2026 at 3:07 pm

    I find it hard to believe this is really the way you have to do it. So I feel like I’m probably missing something basic? Have I misunderstood the process of localizing an Asp.Net MVC site completely?

    No, you are not missing anything. That’s the process involved in localizing an ASP.NET MVC application.

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

Sidebar

Related Questions

I need to clean up various Word 'smart' characters in user input, including but
public static bool CheckLogin(string Username, string Password, bool AutoLogin) { bool LoginSuccessful; // Trim
We are using XSLT to translate a RIXML file to XML. Our RIXML contains
i want to parse a xhtml file and display in UITableView. what is the

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.