Internationalisation with C# (with static HTML page)

A

audetmireille

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!
 
M

Mimi

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top