Welcome to Geeklog, Anonymous Thursday, March 28 2024 @ 10:20 pm EDT

Geeklog Forums

Czech letters


hackkk

Anonymous
I'm translating my geeglog page from english to czech, but when i write any letter with crook (š is correct, but when i write z + on web is this ž(in sori ii can view correct but in the blocks it was incorrect) Can you help me ??? I think i mus change encoding of this web to WINDOWS-1250, but i don"t know where. I'm sorry of my english (I'm 13 years old)
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany

You need to set the correct character encoding in the header.thtml file of the theme you are using. I'm not sure what the correct encoding for Czech is, but you should avoid using Windows specific encodings.

(after some digging around on the net) I think ISO-8859-2 is the character encoding you should be using, see this page.

Hope that helps.

bye, Dirk

 Quote

Status: offline

Kybla

Forum User
Newbie
Registered: 05/15/02
Posts: 9
I use Windows-1250 for my Czech GL site and it works fine. It depends on which encoding do you use for writing your articles (as well as translating language file). Btw., I have nearly translated Czech language file for GL 1.3.5, but it still needs some work .. I will post it here as soon as it will be ready. Since then, I can send you what I have done so far.
 Quote

Status: offline

hermes

Forum User
Newbie
Registered: 02/11/03
Posts: 3
Quote by hackkk: I'm translating my geeglog page from english to czech, but when i write any letter with crook
(š is correct, but when i write z + on web is this ž(in sori ii can view correct but in the blocks it was incorrect) Can you help me ??? I think i mus change encoding of this web to WINDOWS-1250, but i don"t know where.


I'm sorry of my english (I'm 13 years old)



Spise doporucuji zmenit na <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2">
z duvodu "kompatibility" jazyka na vetsine databazi(MySQL)

a udelas to v souboru "config.php"

zmen to asi takto:

// +---------------------------------------------------------------------------+
// | LOCALE SETTINGS |
// +---------------------------------------------------------------------------+
$_CONF['language'] = 'czech';
$_CONF['locale'] = '';
$_CONF['date'] = '%A, %B %d %Y @ %I:%M %p %Z';
$_CONF['daytime'] = '%m/%d %I:%M%p';
$_CONF['shortdate'] = '%x';
$_CONF['dateonly'] = '%d-%b';
$_CONF['timeonly'] = '%I:%M %p %Z';
$_CONF['default_charset'] = 'iso-8859-2';<font color=red></font>

nebo muzes pouzit muj preklad, ktery najdes tady nekde povalovat v sekci "download - translations"
h_t
 Quote

All times are EDT. The time is now 10:20 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content