Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
Localisation to Swedish
Hello there,
I have looked at the forums here, read the TextBook, and even consulted MySQL’s site but I am not finding an explanation on how to do Swedish localisation. I normally use html entities for this which tends to work well i.e. <code>å</code> looks like å.
Do I have to change the database or the web pages?
I am running MySQL with character_set assigned latin1 and index.php has this in its headers;
<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN”
“http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>
<html xmlns=“http://www.w3.org/1999/xhtml” xml:lang=“en” lang=“en”>
<head>
<meta http-equiv=“content-type” content=“text/html; charset=utf-8” />
What must be done to render äöå on the page?
Thanks for any feed back.
Offline
#2 2005-10-04 14:14:46
- heikki74
- Member
- From: Finland
- Registered: 2004-08-17
- Posts: 100
Re: Localisation to Swedish
Use utf-8 encoding on your pages. Then you won’t have to mess with entities.
Btw.. this localisation stuff is about translating Textpattern interface to different languages. Swedish is already done.
Offline
Pages: 1