Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > .NET General

Vista - Internationalisation with C# (with static HTML page)

Reply
 
Old 04-01-2009   #1 (permalink)
audetmireille


 
 

Internationalisation with C# (with static HTML page)

Since 1 week now, I'm looking for the best way to integrate
internationalization in our web application.
The problem is that we have already defined a set of HTML file that we
use depending of the language that we have selected. If English is
selected, the application will get for example "Test1.us-EN.html" and
show the content! If French is selected, the application will get
"Test1.fr-FR.html" and so on…

This is an example of what the file Test1.fr-fr.html can looks like
<html>
<head>
<title>A Simple example</title>
</head>
<body>
<b>Example</b>
<p>
The file is really simple!
</p>
<p> Another information is there…<br>
</p>
</body>
</html>

What we would like to do is to extract the content from this file and
create resources file such as "Test1.us-EN.resx" for example. After
that, we want to modify our HTML file to get the information from
resource file.
I’m thinking about to refactor my project with satellites Assembly
resources… but, I still don’t know how I can modify this HTML file
without decrease signicatively the performance of my application!

How can I do that? Do you have an idea? Is there something that I
still don’t understand?

Thanks in advance for your help!

My System SpecsSystem Spec
Old 04-02-2009   #2 (permalink)
Mimi


 
 

Re: Internationalisation with C# (with static HTML page)

On 1 avr, 16:14, audetmirei...@xxxxxx wrote:
Quote:

> Since 1 week now, I'm looking for the best way to integrate
> internationalization in our web application.
> The problem is that we have already defined a set ofHTMLfile that we
> use depending of the language that we have selected. If English is
> selected, the application will get for example "Test1.us-EN.html" and
> show the content! If French is selected, the application will get
> "Test1.fr-FR.html" and so on…
>
> This is an example of what the file Test1.fr-fr.htmlcan looks like
> <html>
> * * * * <head>
> * * * * * * * * <title>A Simple example</title>
> * * * * </head>
> * * * * <body>
> * * * * * * * * <b>Example</b>
> * * * * * * * * <p>
> * * * * * * * * * * * * The *file is really simple!
> * * * * * * * * </p>
> * * * * * * * * <p> * * * Another information is there…<br>
> * * * * * * * * </p>
> * * * * </body>
> </html>
>
> What we would like to do is to extract the content from this file and
> create resources file such as "Test1.us-EN.resx" for example. After
> that, we want to modify ourHTMLfile to get the information from
> resource file.
> I’m thinking about to refactor my project with satellites Assembly
> resources… but, I still don’t know how I can modify thisHTMLfile
> without decrease signicatively the performance of my application!
>
> How can I do that? Do you have an idea? Is there something that I
> still don’t understand?
>
> Thanks in advance for your help!
I’m thinking about a way to refactor my project with Satellites
Assembly Resources… But, I still don’t know how I can modify this
simple HTML.

Can you help me? How can I do that? Do you have an idea?

Thanks!
Mireille
My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Scripting.FileSystemObject with VBScript in HTML page VB Script
How to save html page source .NET General
HTML and VBscript printer management page VB Script
Web Page Prints Out as Computer Code (HTML) in Internet Explorer 7 Vista print fax & scan
Reading a html page source .NET General


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46