Hi all
I am new to websites and its concepts.I have to implement multilanguage facility in both English and German.I am not using any server side Scripting Lnaguage.I use only HTML
I don't know how to create a multilanguage using html.I have already created the site in English.Now i want to give the German link in my site and clicking on that link,the contents of the page should be changed to German.How can i do this using HTML.
Please tell me a way.I am in deep trouble.
Thanks
5 1433
Unless you want to mirror the entire website twice, with two seperate html files, one for German and one for English, then you will probably be best off with a dynamic server side scripted solution. Nearly all the work I do is multilingual, both French and English and we use a database driven approach with PHP.
If you really can't use a server-side / database driven approach and you don't want to make the same page twice with different languages, then perhaps you can cheat a little and use Javascript and place all the language values in an array. Populate the HTML with the english array or the German array, depending on the link selected.
Unless you want to mirror the entire website twice, with two seperate html files, one for German and one for English, then you will probably be best off with a dynamic server side scripted solution. Nearly all the work I do is multilingual, both French and English and we use a database driven approach with PHP.
If you really can't use a server-side / database driven approach and you don't want to make the same page twice with different languages, then perhaps you can cheat a little and use Javascript and place all the language values in an array. Populate the HTML with the english array or the German array, depending on the link selected.
Thanks
can you please give me an example how to do in javascript.I am totally new to this area and how can i do in php ?, please
Please help me
There are whole books written about javascript and whole books about what you want to do. There is no way anyone can do the whole process here.
Did you try the translation service above? Sounds like that would be your best bet.
Sign in to post your reply or Sign up for a free account.
Similar topics
by: fochie |
last post by:
Greetings,
I'm having a problem when I try to GET a file from my server
via xmlhttp when using Mozilla. With IE I can get any type of file
fine, get/display headers fine, etc. With Mozilla,...
|
by: BT |
last post by:
I inherited a simple page that needs to be Strict HTML and I'm not very
familiar with this standard. What I'm trying to do _should be_ pretty
simple so I hope someone can point me in the right...
|
by: could ildg |
last post by:
In re, the punctuation "^" can exclude a single character, but I want
to exclude a whole word now. for example I have a string "hi, how are
you. hello", I want to extract all the part before the...
|
by: vanisathish |
last post by:
Hi
I am running a client side javascript timer to periodically refresh the
contents of some tables in the HTML page. The table values are
dynmically binded from XML DOM object using the <XML tag...
|
by: Stephen Adam |
last post by:
Hi there,
I've just started a c# project at work where I cannot use Visual Studio. I
am trying to pass variables from one form to another. When I try to create
an instance of the sending class...
|
by: Nathan |
last post by:
I have an aspx page with a data grid, some textboxes, and an update button.
This page also has one html input element with type=file (not inside the data
grid and runat=server).
The update...
|
by: lxyone |
last post by:
Using a flat file containing table names, fields, values whats the
best way of creating html pages?
I want control over the html pages ie
1. layout
2. what data to show
3. what controls to...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome former...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
| |