Recent Topics

i can not translate b2 to chinese.how could i ?thanks

Started by on May 23, 2010 – Contents updated: May 23, 2010

May 23, 2010 05:20    

i download language packs of Chinese (zh-CN UTF-8), then extract zh_CN_utf-8 folder to locales folder, and modify \conf\_locales.php:

$evo_charset = 'utf-8';
$force_io_charset_if_accepted = 'utf-8';
$db_config['connection_charset'] = 'utf-8';
$allow_po_extraction = 1;

but,b2 still don't display with chinese.
please help me ,thanks

May 23, 2010 06:21

i alse modify \conf\_locales.php:
$locales['zh-CN'] = array(
'name' => NT_('Chinese (CN) utf-8'),
'charset' => 'iso-8859-1',
'datefmt' => 'y/m/d',
'timefmt' => 'h:i:s a',
'startofweek' => 0,
'messages' => 'zh_CN',
'enabled' => false, // We need this line to prevent notices iin locales conf screen and user profile screen.
);

May 23, 2010 06:26

May 23, 2010 12:29

rename your zh_CN_utf-8 folder to "zh_CN


Form is loading...

Run your own website! – This forum is powered by b2evolution CMS, a complete engine for your website.