Jump to content
Xtreme .Net Talk

Recommended Posts

  • Administrators
Posted

.Net provides some built in localisation mechanisms for you. When developing web applications you can go to the tools menu and get VS to generate a resource file from a given page - this moves all strings, images etc. out of the HTML and stores them in a resx file. Further languages can be added by providing new resx files.

 

Also rather than storing strings that you use programatically in the actual source you can also store these in resource files.

 

At runtime .Net determines which language to use based on the installed languages of the browser making the request.

 

I would recomenfd taking a look at this blog entry as it links to a couple of walkthroughs plus a way to store the resources in a database as an alternative to the built-in method.

Posting Guidelines FAQ Post Formatting

 

Intellectuals solve problems; geniuses prevent them.

-- Albert Einstein

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...