Discuz!官方免费开源建站系统

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

International DiscuzX 2.0 (Multi-Lingual)

[复制链接]
 楼主| vot 发表于 2012-1-27 21:21:45 | 显示全部楼层
i want to know how to install this? any technical guidance?

Just upgrade to International Discuz!X 2.
Then you can add any language you wish.

回复

使用道具 举报

 楼主| vot 发表于 2012-1-27 21:24:59 | 显示全部楼层
Good news!

Spanish (Español) Language Pack today added to International X2

Translated by jhoxy from dicuzhispano.com

回复

使用道具 举报

fengshui-123 发表于 2012-2-1 14:29:37 | 显示全部楼层
本帖最后由 fengshui-123 于 2012-2-1 14:31 编辑

Hi, Vot,

I already downloaded everything from: http://code.google.com/p/discuzx-en/downloads/list
Now, how to upgrade to internation version?
回复

使用道具 举报

 楼主| vot 发表于 2012-2-1 20:22:26 | 显示全部楼层
how to upgrade to internation version?

Download he International X2 from the repository:
http://discuzx-en.googlecode.com/svn/trunk/discuzx2.0ML/
回复

使用道具 举报

fengshui-123 发表于 2012-2-2 06:47:09 | 显示全部楼层
本帖最后由 fengshui-123 于 2012-2-2 06:48 编辑

Thanks Vot.

Is the installation procedure exactly the same as this: https://discuz.dismall.com/thread-2141484-1-1.html
回复

使用道具 举报

 楼主| vot 发表于 2012-2-2 14:31:12 | 显示全部楼层
Is the Installation Procedure exactly the same as this

Yes, the installation procedure is not changed.
回复

使用道具 举报

fengshui-123 发表于 2012-2-2 15:30:23 | 显示全部楼层
本帖最后由 fengshui-123 于 2012-2-2 15:31 编辑

Thanks Vot.

I already installed successfully, but no "change language" function at the top right hand corner. How to get this "change Language" function working?



回复

使用道具 举报

 楼主| vot 发表于 2012-2-2 16:14:29 | 显示全部楼层
本帖最后由 vot 于 2012-2-2 16:15 编辑

Instruction "How to enable multiple languages in your International X2":
http://codersclub.org/discuzx/forum.php?mod=viewthread&tid=722



回复

使用道具 举报

fengshui-123 发表于 2012-2-2 20:32:24 | 显示全部楼层
本帖最后由 fengshui-123 于 2012-2-2 20:46 编辑
vot 发表于 2012-2-2 16:14
Instruction "How to enable multiple languages in your International X2":
http://codersclub.org/disc ...

Thanks Vot.

I also follow this to add language: http://codersclub.org/discuzx/forum.php?mod=viewthread&tid=191&extra=page%3D1
but it give me blank page when I change to other language, English change to English also give me blank, what's wrong?


I attach my conf ig_global.php below:
<?php


$_config = array();

// ----------------------------  CONFIG DB  ----------------------------- //
$_config['db']['1']['dbhost'] = 'localhost';
$_config['db']['1']['dbuser'] = 'root';
$_config['db']['1']['dbpw'] = '';
$_config['db']['1']['dbcharset'] = 'utf8';
$_config['db']['1']['pconnect'] = '0';
$_config['db']['1']['dbname'] = 'dx2world';
$_config['db']['1']['tablepre'] = 'pre_';
$_config['db']['common']['slave_except_table'] = '';

// --------------------------  CONFIG MEMORY  --------------------------- //
$_config['memory']['prefix'] = 'G6pJHl_';
$_config['memory']['eaccelerator'] = 1;
$_config['memory']['apc'] = 1;
$_config['memory']['xcache'] = 1;
$_config['memory']['memcache']['server'] = '';
$_config['memory']['memcache']['port'] = 11211;
$_config['memory']['memcache']['pconnect'] = 1;
$_config['memory']['memcache']['timeout'] = 1;

// --------------------------  CONFIG SERVER  --------------------------- //
$_config['server']['id'] = 1;

// -------------------------  CONFIG DOWNLOAD  -------------------------- //
$_config['download']['readmod'] = 2;
$_config['download']['xsendfile']['type'] = '0';
$_config['download']['xsendfile']['dir'] = '/down/';

// ---------------------------  CONFIG CACHE  --------------------------- //
$_config['cache']['type'] = 'sql';

// --------------------------  CONFIG OUTPUT  --------------------------- //
$_config['output']['charset'] = 'utf-8';
$_config['output']['forceheader'] = 1;
$_config['output']['gzip'] = '0';
$_config['output']['tplrefresh'] = 1;
$_config['output']['language'] = 'en';
$_config['output']['staticurl'] = 'static/';
$_config['output']['ajaxvalidate'] = '0';
$_config['output']['iecompatible'] = '0';

// --------------------------  CONFIG COOKIE  --------------------------- //
$_config['cookie']['cookiepre'] = 'Rnw8_';
$_config['cookie']['cookiedomain'] = '';
$_config['cookie']['cookiepath'] = '/';

// -------------------------  CONFIG SECURITY  -------------------------- //
$_config['security']['authkey'] = '7866e2y9t1Ak7mtM';
$_config['security']['urlxssdefend'] = 1;
$_config['security']['attackevasive'] = '0';
$_config['security']['querysafe']['status'] = 1;
$_config['security']['querysafe']['dfunction']['0'] = 'load_file';
$_config['security']['querysafe']['dfunction']['1'] = 'hex';
$_config['security']['querysafe']['dfunction']['2'] = 'substring';
$_config['security']['querysafe']['dfunction']['3'] = 'if';
$_config['security']['querysafe']['dfunction']['4'] = 'ord';
$_config['security']['querysafe']['dfunction']['5'] = 'char';
$_config['security']['querysafe']['daction']['0'] = 'intooutfile';
$_config['security']['querysafe']['daction']['1'] = 'intodumpfile';
$_config['security']['querysafe']['daction']['2'] = 'unionselect';
$_config['security']['querysafe']['daction']['3'] = '(select';
$_config['security']['querysafe']['daction']['4'] = 'unionall';
$_config['security']['querysafe']['daction']['5'] = 'uniondistinct';
$_config['security']['querysafe']['dnote']['0'] = '/*';
$_config['security']['querysafe']['dnote']['1'] = '*/';
$_config['security']['querysafe']['dnote']['2'] = '#';
$_config['security']['querysafe']['dnote']['3'] = '--';
$_config['security']['querysafe']['dnote']['4'] = '"';
$_config['security']['querysafe']['dlikehex'] = 1;
$_config['security']['querysafe']['afullnote'] = '0';

// --------------------------  CONFIG ADMINCP  -------------------------- //
// -------- Founders: $_config['admincp']['founder'] = '1,2,3'; --------- //
$_config['admincp']['founder'] = '1';
$_config['admincp']['forcesecques'] = '0';
$_config['admincp']['checkip'] = 1;
$_config['admincp']['runquery'] = 1;
$_config['admincp']['dbimport'] = 1;

// --------------------------  CONFIG REMOTE  --------------------------- //
$_config['remote']['on'] = '0';
$_config['remote']['dir'] = 'remote';
$_config['remote']['appkey'] = '62cf0b3c3e6a4c9468e7216839721d8e';
$_config['remote']['cron'] = '0';

// -------------------------  CONFIG LANGUAGES  ------------------------- //
$_config['languages']['en']['icon'] = 'en.gif';
$_config['languages']['en']['name'] = 'English';
$_config['languages']['en']['title'] = 'English';
$_config['languages']['en']['dir'] = 'ltr';



//-----------------------------------------------------------------------
// Multi-Lingual support by Valery Votintsev
//-----------------------------------------------------------------------
// "dir" - text direction:
//        'ltr' (Left To Right)
//        'rtl' (Right To Left), i.e for Arabic, Hebrew, Urdu, etc.
//-----------------------------------------------------------------------
// Uncomment a language line for enable the language!
// Comment a language line that is not required!!!
//
// Enabled Language List:

$_config['languages'] = array(
        'en' => array('icon'=>'en.gif', 'name'=>'English', 'title'=>'English', 'dir'=>'ltr'),
        'zh' => array('icon'=>'zh.gif', 'name'=>'简体中文', 'title'=>'Simplified Chinese', 'dir'=>'ltr'),
        'tc' => array('icon'=>'tw.gif', 'name'=>'繁體中文', 'title'=>'Traditional Chinese', 'dir'=>'ltr'),
        'ar' => array('icon'=>'ar.gif', 'name'=>'&#1575;&#1604;&#1593;&#1585;&#1576;&#1610;&#1577;', 'title'=>'Arabic', 'dir'=>'rtl'),
        'de' => array('icon'=>'de.gif', 'name'=>'Deutsch', 'title'=>'Deutsch', 'dir'=>'ltr'),
        'es' => array('icon'=>'es.gif', 'name'=>'Espa&#241;ol', 'title'=>'Spanish', 'dir'=>'ltr'),
        'fr' => array('icon'=>'fr.gif', 'name'=>'Fran&#231;ais', 'title'=>'French', 'dir'=>'ltr'),
        'ru' => array('icon'=>'ru.gif', 'name'=>'Русский', 'title'=>'Russian', 'dir'=>'ltr'),
        'th' => array('icon'=>'th.gif', 'name'=>'&#3616;&#3634;&#3625;&#3634;&#3652;&#3607;&#3618;', 'title'=>'Thai', 'dir'=>'ltr'),
        'tr' => array('icon'=>'tr.gif', 'name'=>'Türk&#231;e', 'title'=>'Turkish', 'dir'=>'ltr'),
        'vn' => array('icon'=>'vn.gif', 'name'=>'Ti&#7871;ng Vi&#7879;t', 'title'=>'Vietnamese', 'dir'=>'ltr'),
);
$_config['detect_language'] = true;        // Auto-detect user language: true|false
$_config['enable_multilingual'] = true;        // Enable/Disable multi-langual feature

?>





回复

使用道具 举报

 楼主| vot 发表于 2012-2-2 21:32:17 | 显示全部楼层
本帖最后由 vot 于 2012-2-2 21:38 编辑

remove this block:
  1. $_config['languages']['en']['icon'] = 'en.gif';
  2. $_config['languages']['en']['name'] = 'English';
  3. $_config['languages']['en']['title'] = 'English';
  4. $_config['languages']['en']['dir'] = 'ltr';
复制代码
Try to set this settings to = 0.
  1. $_config['memory']['eaccelerator'] = 1;
  2. $_config['memory']['apc'] = 1;
  3. $_config['memory']['xcache'] = 1;
复制代码
Enable Cookies in your browser.
(What the browser?)

Show your /source/discuz_version.php here.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )star

GMT+8, 2024-11-15 18:01 , Processed in 0.033688 second(s), 3 queries , Gzip On, Redis On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表