1
yasuo
Having problem in xLanguage v2.0.4
  • 2008/1/17 9:16

  • yasuo

  • Just popping in

  • Posts: 3

  • Since: 2007/12/24


XOOPS Version: v2.0.16jp
Module Name/Version: xLanguage v2.0.4
PHP Version: PHP 5.2.3
MySQL Version: 5.0.27
Web Server Software (Apache/IIS/Other): Apache
Operating System: Red Hat Enterprise Linux ES release 4 (Nahant Update 5)
Theme you are using: default
Custom template: No
PHP Debug Messages: None
MySQL Debug Messages:
Queries 
SELECT 
FROM xoops_config WHERE (conf_modid '0' AND conf_catid '1'ORDER BY conf_order ASC 
SELECT sess_data FROM xoops_session WHERE sess_id 
'531afabe14bfd8cacda324290bc1c1a8' 
SELECT FROM xoops_users WHERE uid=
SELECT 
FROM xoops_config WHERE (conf_modid '0' AND conf_catid '3'ORDER BY conf_order ASC 
SELECT COUNT
(*) FROM xoops_banner 
SELECT DISTINCT gperm_itemid FROM xoops_group_permission WHERE gperm_name 
'block_read' AND gperm_modid AND gperm_groupid IN (1,2
SELECT b.* FROM xoops_newblocks bxoops_block_module_link m WHERE m.block_id=b.bid AND b.isactive=AND b.visible=AND m.module_id IN (0,-1) AND b.bid IN (13,1,35,2,33,37,3,36,4,21,5,34,6,32,7,31,8,30,9,29,10,20,11,19,12,18,14,15,16,17,38,39ORDER BY b.weight,b.bid 
SELECT COUNT
(*) FROM xoops_priv_msgs WHERE (read_msg '0' AND to_userid '1'
SELECT FROM xoops_tplfile WHERE (tpl_tplset 'default' AND tpl_file 'system_block_user.html'ORDER BY tpl_refid 
SELECT 
FROM xoops_modules WHERE (hasmain '1' AND isactive '1' AND weight '0'ORDER BY weight ASCmid ASC 
SELECT 
FROM xoops_group_permission WHERE (gperm_name 'module_read' AND gperm_modid '1' AND (gperm_groupid '1' OR gperm_groupid '2')) 
SELECT FROM xoops_modules WHERE dirname 'xoopstube' 
SELECT FROM xoops_tplfile WHERE (tpl_tplset 'default' AND tpl_file 'system_block_mainmenu.html'ORDER BY tpl_refid 
SELECT 
FROM xoops_xoopscomments WHERE (com_status '2'ORDER BY com_created DESC LIMIT 010 
SELECT 
FROM xoops_modules WHERE hascomments '1' ORDER BY weight ASCmid ASC 
SELECT storyid
titlepublishedexpiredcounter FROM xoops_stories WHERE published 1200622681 AND published AND (expired OR expired 1200622681ORDER BY published DESC LIMIT 010 
SELECT 
FROM xoops_tplfile WHERE (tpl_tplset 'default' AND tpl_file 'news_block_new.html'ORDER BY tpl_refid 
SELECT 
FROM xoops_tplfile WHERE (tpl_tplset 'default' AND tpl_file 'system_dummy.html'ORDER BY tpl_refid 
SELECT 
FROM xoops_xlanguage_base 
SELECT 
FROM xoops_xlanguage_ext 
SELECT 
FROM xoops_tplfile WHERE (tpl_tplset 'default' AND tpl_file 'system_dummy.html'ORDER BY tpl_refid 
SELECT 
FROM xoops_config WHERE (conf_modid '6'ORDER BY conf_order ASC 
SELECT lid
cidtitleurldatehitsvidsource FROM xoops_xoopstube_videos WHERE published AND published <= 1200622681 AND (expired OR expired 1200622681) AND offline 0 ORDER BY date DESC LIMIT 0
SELECT 
FROM xoops_tplfile WHERE (tpl_tplset 'default' AND tpl_file 'xoopstube_block_new_h.html'ORDER BY tpl_refid 
SELECT lid
cidtitleurldatevidsource FROM xoops_xoopstube_videos WHERE published AND published <= 1200622681 AND (expired OR expired 1200622681) AND offline 0 ORDER BY RAND() LIMIT 5 
SELECT 
FROM xoops_tplfile WHERE (tpl_tplset 'default' AND tpl_file 'xoopstube_block_random_h.html'ORDER BY tpl_refid 
SELECT 
FROM xoops_tplfile WHERE (tpl_tplset 'default' AND tpl_file 'system_dummy.html'ORDER BY tpl_refid 
SELECT 
FROM xoops_tplfile WHERE (tpl_tplset 'default' AND tpl_file 'system_block_search.html'ORDER BY tpl_refid 
SELECT t
.topic_idt.topic_titlet.topic_last_post_idt.topic_timet.topic_viewst.topic_repliest.forum_idf.forum_name FROM xoops_bb_topics txoops_bb_forums f WHERE f.forum_id=t.forum_id AND f.forum_type <> 1 ORDER BY t.topic_time DESC LIMIT 010 
SELECT post_id
uid FROM xoops_bb_posts WHERE post_id 
SELECT 
FROM xoops_tplfile WHERE (tpl_tplset 'default' AND tpl_file 'newbb_block_new.html'ORDER BY tpl_refid 
SELECT 
FROM xoops_tplfile WHERE (tpl_tplset 'default' AND tpl_file 'system_dummy.html'ORDER BY tpl_refid 
Total
32 queries


A full description of the issue:

I intalled xLanguage according to
http://module.xoops.org.cn/modules/article/view.article.php/15
these are my base language definitions?
japan charset: euc-jp code: [jp]
english charset: iso-8859-1 code: [en]

not yet define the extended language.


My problems?

(1)
There are 2 flags in the xlanguage block: japan and usa. japan works well(of course because it is japan version), but if I click usa flag, 10% words turn to english, 90% words turn to mojibake, including defualt words such as "user menu" and "main menu". I am sure taht I have english language pack in xoops, why so many mojibake come out?

(2)
I use dreamweaver8en, open /themes/default/theme.html, insert the following code under the title
[en]XOOPS!!!!![/en][jp]??[/jp]

uploaded and refresh my site, the "XOOPS!!!!!" shows clicking usa flag, but "??" becomes mojibake if clicking japan flag, how to fix it?

Login

Donat-O-Meter

Stats
Goal: $15.00
Due Date: Aug 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $15.00
Make donations with PayPal!