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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T12:32:58+00:00 2026-06-15T12:32:58+00:00

It is possible to automatic create RESX files from CSHTML files in MVC3 or

  • 0

It is possible to automatic create RESX files from CSHTML files in MVC3 or MVC4?
I would like to get resource file for all hardcored text in cshtml

I use Visual Studio 2012.

  • 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-06-15T12:32:59+00:00Added an answer on June 15, 2026 at 12:32 pm

    You can generate resource files and localized views using custom templates in ASP.NET MVC.

    Overriding ASP.NET MVC Custom Templates

    The Add View dialog performs code generation that uses T4 templates behind the scenes. These templates can be modified to customize the generated code from these tools. You can also add custom templates.

    Basically you have to copy the default templates to your project. This is the path:

    [Visual Studio Install Directory]\Common7\IDE\ItemTemplates\
    [CSharp | VisualBasic]\Web\MVC\CodeTemplates\

    After you copy the templates, you can copy an existing one and change it to generate a .resx file that fits your needs. I wrote an article about it, you can find it here:

    ASP.NET MVC Localization: Generate resource files and localized views using custom templates

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

Sidebar

Related Questions

Possible Duplicate: Can I create an automatic property (no private member) with get and
Is it possible to stop the automatic preventDefault() from applying in a simple Jquery
I have a standard JTable with certain data inside. I would like to create
Essentially, I would like to create a database structure that allows for classifying an
Is it possible, using C# Automatic Properties, to create a new instance of an
Is possible to create a routine or procedure that can automatic everyday check a
The idea is to create automatic caster which would paste pointer to the variable
I would like to create a role connected as SYSTEM. But because I have
Does anyone knows, it is possible to add a automatic photo to FB timeline
In this post , I found out that it was possible to create individual

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.