problem with lang

moo

No avatar

2008-03-23 17:19

If I change in comfig/lang_en.php this
$aMenuTypes[4] = 'Producers';
for this

$aMenuTypes[4] = 'Dodavatelé';

é isn´t é but only small square

I donť know why befor it was good maybe i something change but I dont know what :(
pls help where i can change charset or something in this file

» Quick.Cms v2.x

moo

No avatar

2008-03-23 18:21

in templates/container.tpl on 2. line is this

encoding="$config[charset]"

where i can change it pls help me

merci

No avatar

2008-03-25 09:59

moo - you can find it in file lang/en.php somewhere near 5 line

moo

No avatar

2008-03-26 19:27

Thank you so much
now only know what I must change for Czech language but i will be easy I think

Thanks again

filda

No avatar

2008-03-27 22:23

I have question
Is it possilbe if you have some text in templates/container.tpl for exaple there


<div id="column2">
<!-- additional column, hidden in styles -->
</div>

<div id="column">
$sMenu3
$sMenu4

Here some text for example Česká republika ěščřžžřžář atd.

</div>
<div id="content">

And i think that charset is functionless

en

merci

No avatar

2008-03-28 08:43

filda - check if file templates/container.tpl has utf-8 encoding while saving it. If not, save it as utf-8.

moo

No avatar

2008-03-29 18:58

my head in temlates/container.tpl


<!-- BEGIN HEAD -->
<?xml version="1.0" encoding="$config[charset]"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="$config[language]">

<head>
<title>$sTitle$config[title]</title>
<meta http-equiv="Content-Type" content="text/html; charset="utf-8" />
<meta name="Description" content="$sDescription" />
<meta name="Keywords" content="$sKeywords" />
<meta http-equiv="Content-Style-Type" content="text/css" />

<script type="text/javascript" src="$config[dir_core]common.js"></script>
<script type="text/javascript" src="$config[dir_core]plugins.js"></script>
<script type="text/javascript" src="$config[dir_core]prototype.lite.js"></script>
<script type="text/javascript" src="$config[dir_core]moo.fx.js"></script>
<script type="text/javascript" src="$config[dir_core]litebox-1.0.js"></script>
<script type="text/javascript">
<!--
var cfBorderColor = "#999999";
var cfLangNoWord = "$lang[cf_no_word]";
var cfLangMail = "$lang[cf_mail]";
var cfWrongValue = "$lang[cf_wrong_value]";
var cfToSmallValue = "$lang[cf_to_small_value]";
var cfTxtToShort = "$lang[cf_txt_to_short]";
AddOnload( initLightbox );
//-->
</script>

<style type="text/css">@import "$config[dir_templates]$config[template]";</style>
$sBanner
<!-- END HEAD -->
<!-- BEGIN BODY -->
</head>

filda

No avatar

2008-03-31 21:16

no idea? pls help me

en

merci

No avatar

2008-04-01 09:26

filda - I have wrote you - check which encoding you have while saving a file, not in code. In many editor (for example I use EditPlus) while saving you can choose encoding - it should be set as utf-8.

filda

No avatar

2008-04-01 14:01

you think that problem isn´t in charset but in text that the text is wrong upload. yes?

en

Back to top
about us | contact