![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| 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. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | 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 Specs![]() |
| | #2 (permalink) |
| | 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! 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 Specs![]() |
![]() |
| 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 | |||