Quote:The wiki has examples of the recommended way to use i18n in plugins: http://get-simple.info/wiki/plugins:i18nThanks for the information. I will look like to adapt the plugin....
-Rob A>
Oleg06,
As always many thanks to tets ....
Edit:
argggg!!!! i have seen that happen.... problems with cirilic characters...
Already is solved, think!!!
http://cumbe.no-ip.biz/gs30/libro_invitados/?pag=4
In /guest-contact/comprueba.php: the lines 164-178 must be
Code:
$cdata->addCData(htmlentities($temp['nombre'], ENT_QUOTES, 'UTF-8'));
//$cdata->addCData(htmlentities($temp['nombre']));
$thislog->addChild('date', date('r'));
$cdata = $thislog->addChild('Sub');
$cdata->addCData(htmlentities($tema, ENT_QUOTES, 'UTF-8'));
//$cdata->addCData(htmlentities($tema));
$cdata = $thislog->addChild('Em');
$cdata->addCData(htmlentities($temp['email'], ENT_QUOTES, 'UTF-8'));
//$cdata->addCData(htmlentities($temp['email']));
$cdata = $thislog->addChild('Ct');
$cdata->addCData(htmlentities($temp['city'], ENT_QUOTES, 'UTF-8'));
//$cdata->addCData(htmlentities($temp['city']));
$cdata = $thislog->addChild('Cm');
$cdata->addCData(htmlentities($temp['comentario'], ENT_QUOTES, 'UTF-8'));
//$cdata->addCData(htmlentities($temp['comentario']));
Now is so:
Code:
$cdata->addCData(htmlentities($temp['nombre'], ENT_QUOTES, 'UTF-8'));
//$cdata->addCData(htmlentities($temp['nombre']));
$thislog->addChild('date', date('r'));
$cdata = $thislog->addChild('Sub');
//$cdata->addCData(htmlentities($tema, ENT_QUOTES, 'UTF-8'));
$cdata->addCData(htmlentities($tema));
$cdata = $thislog->addChild('Em');
//$cdata->addCData(htmlentities($temp['email'], ENT_QUOTES, 'UTF-8'));
$cdata->addCData(htmlentities($temp['email']));
$cdata = $thislog->addChild('Ct');
//$cdata->addCData(htmlentities($temp['city'], ENT_QUOTES, 'UTF-8'));
$cdata->addCData(htmlentities($temp['city']));
$cdata = $thislog->addChild('Cm');
//$cdata->addCData(htmlentities($temp['comentario'], ENT_QUOTES, 'UTF-8'));
$cdata->addCData(htmlentities($temp['comentario']));
The difference is in the commented and uncommented lines...