Welcome to Geeklog Tuesday, July 23 2019 @ 03:45 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)

Status: offline

Dirk

Site Admin
Admin
Registered: 12/01/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


Status: offline

Kybla

Forum User
Newbie
Registered: 15/05/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.

Status: offline

hermes

Forum User
Newbie
Registered: 11/02/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

All times are EDT. The time is now 03:45 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