Problem with traduction!

Hi, I'm having Problem with the my portuguese traduction.... Where should be: "Descrição Rápida", shows on browser: "Descri��o R�pida"

on the language file (langs/lang-pt.php) I have inserted:

<?php

function utf2latin($text) {
$text=htmlentities($text,ENT_COMPAT,'UTF-8');
return html_entity_decode($text,ENT_COMPAT,'ISO-8859-1');
}

$LANG = array(


befere de translation... but it dont worked fine...


who can I fix it?? thanks!

Quote · 23 Mar 2010

Don't put any extra php code in the lang files.

You must make sure you save your lang file as UTF-8. This meens your text editor needs to support saving of files in UTF-8 format.

https://www.deanbassett.com
Quote · 23 Mar 2010

My editor Notepad++ supports UTF-8, but it still dont worked...

Quote · 23 Mar 2010

Perhaps something is wrong with the database collation.

Using phpmyadmin check the structure of the table sys_localization_keys. See if the collation is set to the proper setting.

https://www.deanbassett.com
Quote · 23 Mar 2010

I looked at phpmyadmin, the value is:

Key: varchar(255) |
utf8_bin
Quote · 23 Mar 2010
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.