1 reply [Last post]
allan smith
Offline
Enthusiast
Last seen: 9 years 11 weeks ago
Timezone: GMT+1
Joined: 2004-01-20
Posts: 53
Points: 2

Ignoring the intricacies of actually translating pages into - say - French (or German, Spanish or Italian) what changes do I need to make to the header language definitions

below is the top section from one of my pages attelfordsteamrailway.co.uk

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<title xml:lang="en">Telford Steam Railway - Home Page</title>
<meta name="author" content="Allan Smith" />
<meta http-equiv="Content-Type" content= "text/html; charset=iso-8859-1" />

Do I change "en" to "fr"?
Do I still use iso-8859-1?
How do I get accented characters into the text?
do I really have to enter "&egrave" for an accented e or is there a simpler way?

Anyoneone got any good links to websites with guidance?

Allan Smith
Web Manager
Telford Steam Railway

vandenburg
Offline
newbie
London
Last seen: 16 years 10 weeks ago
London
Joined: 2004-05-26
Posts: 9
Points: 0

Translating pages created in English into foreign languages

Your on the right lines it's similar to using the lang attribute to change the language specification when using a second language in the text.