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=1
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 = 1 AND gperm_groupid IN (1,2)
SELECT b.* FROM xoops_newblocks b, xoops_block_module_link m WHERE m.block_id=b.bid AND b.isactive=1 AND b.visible=1 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,39) ORDER 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 ASC, mid 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 0, 10
SELECT * FROM xoops_modules WHERE hascomments = '1' ORDER BY weight ASC, mid ASC
SELECT storyid, title, published, expired, counter FROM xoops_stories WHERE published < 1200622681 AND published > 0 AND (expired = 0 OR expired > 1200622681) ORDER BY published DESC LIMIT 0, 10
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, cid, title, url, date, hits, vidsource FROM xoops_xoopstube_videos WHERE published > 0 AND published <= 1200622681 AND (expired = 0 OR expired > 1200622681) AND offline = 0 ORDER BY date DESC LIMIT 0, 5
SELECT * FROM xoops_tplfile WHERE (tpl_tplset = 'default' AND tpl_file = 'xoopstube_block_new_h.html') ORDER BY tpl_refid
SELECT lid, cid, title, url, date, vidsource FROM xoops_xoopstube_videos WHERE published > 0 AND published <= 1200622681 AND (expired = 0 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_id, t.topic_title, t.topic_last_post_id, t.topic_time, t.topic_views, t.topic_replies, t.forum_id, f.forum_name FROM xoops_bb_topics t, xoops_bb_forums f WHERE f.forum_id=t.forum_id AND f.forum_type <> 1 ORDER BY t.topic_time DESC LIMIT 0, 10
SELECT post_id, uid FROM xoops_bb_posts WHERE post_id = 1
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/15these 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?