Quote:
Hope you'll find here people to made your xoops
admin interfaces, themes, whatever
Check user base Damaster my XOOPS have more sources of information, and re-read Catz post again, twice if u cant catch it from the first read....
Stfan88 gives partial solution how have to be done, in addition....:
Before XOOPS 2.0.17.1 installation begins(damn old and good release), you have to set database tables to use 'utf8_general_ci', then try with Stefan88 instructions (and in future, first check the included README file, before posting here or elsewhere) or check the User Guide from phpPP author of XLanguage 3.0
Copy & Paste from the included readme.txt from xoops-module-xlanguage-300.zip, downloaded from
http://xoopsforge.com/ User guide
----------
1 install "xlanguage" as a regular module
2 insert one line
include_once XOOPS_ROOT_PATH.'/modules/xlanguage/api.php';
into XOOPS/include/common.php
RIGHT BEFORE
// #################### Include site-wide lang file ##################
if ( file_exists(XOOPS_ROOT_PATH."/language/".$xoopsConfig['language']."/global.php") ) {
include_once XOOPS_ROOT_PATH."/language/".$xoopsConfig['language']."/global.php";
} else {
include_once XOOPS_ROOT_PATH."/language/english/global.php";
}
3 modify language/LocalLanguage/global.php, take "schinese" as example
//%%%%% LANGUAGE SPECIFIC SETTINGS %%%%%
//define('_CHARSET', 'GB2312');
//define('_LANGCODE', 'zh-CN');
define('_CHARSET', empty($xlanguage["charset"])?'GB2312':$xlanguage["charset"]);
define('_LANGCODE', empty($xlanguage["code"])?'zh-CN':$xlanguage["code"]);
$xlanguage['charset_base'] = "gb2312";
4 select basic langauges (from an available language list) and add extended languages (upon a selected basic language) from module admin page
for instance, to make language switch between: English, Simplified Chinese (gb2312), Traditional Chinese (big5) and UTF-8 Chinese:
base 1: name: english; description(optional): English; charset: iso-8859-1; code: en (or anyother like "xen", not a true language code, just the tag for indicating English content)
base 2: name: schinese; description(optional): Simplified Chinese; charset: gb2312; code: zh (or anyother like "sc", not a true language code, just the tag for indicating Chinese content)
extended lang of schinese 1: name: tchinese; description(optional): Traditional Chinese; charset: big5 code: zh-TW (the true language code of Traditional Chinese) base: schinese
extended lang of schinese 2: name: utf8; description(optional): Simplified Chinese UTF-8; charset: utf-8 code: zh-CN (the true language code of Simplified Chinese) base: schinese
5 make the block "langauge selection" visible
6 add multilingual content with according tags sepcified for each base language (in step 4) to your modules, templates or themes[Skip this step if you do not use multi-language content display but only use charset encoding]:
wrap content of each language with respective tag specified in step 4:
[langcode1]Content of the language1[/langcode1] [langcode2]Content of the language2[/langcode2] [langcode3]Content of the language3[/langcode3] ...
if two or more languages have same content, you do not need add them one by one but use delimiter "|":
[langcode1|langcode2]Content shared by language1&2[/langcode1|langcode2] [langcode3]Content of the language3[/langcode3] ...
a true example (suppose the lang_codes specified in step 4 are: English-en; French-fr; SimplifiedChiense-sc):
[en]My XOOPS[/en][fr]Moi XOOPS[/fr][sc]ОТµДXOOPS[/sc]
OR:
[english|french]This is my content in English and French[/english|french][schinese]ЦРОДДЪИЭ[/schinese]
7 automatic conversion of content from one charset(extended language) to another [Actually on action needed in this step]
8 __if__ you would like to insert hardcoded scripts for language switch in your theme or any template besides the language selection box:
1) modify /modules/xlanguage/api.php "$xlanguage_theme_enable = true;"
2) config options "$options = array("images", " ", 5); // display mode, delimitor, number per line";
3) insert "<{$smarty.const.XLANGUAGE_SWITCH_CODE}>" into your theme or template files anywhere you prefer it present
p.s. and Damaster, if anyone is a part of
XOOPS Cube (Legacy), Cube or whatever call it community, how u will describe the provided shot, and what's the solution for it ? To use IE to administrate your Cube 2.1.2 site, or ? Such things can't happen here. At least if some bugs comes in the final, ppl work as team to solve it. What means official (primary) support site without a word from the main developer. Onokazu vs. phppp, who have more posts :).
Provided Screenshot is a bug exist and reported from 2.1.0 RC1.... still no words