Upload
tetsuko-komma
View
11.492
Download
9
Tags:
Embed Size (px)
Citation preview
Multi Language Geeklog siteHow to use Geeklog in Bengali
Languages of Bangladesh
ISO-639
bn বাং��লা� Bengali
ja 日本語 Japanese
en English English
ISO-639 Local English
Filep
rivate
bakups
data
language
logs
plugins
sql
system
db-config.php
public
_htm
l
admin/install/index.phpadmin/plugins…
plugin…..calendarstaticpages
Layout - denim - modern_curve - professional - professional_css
index.phplib-common.php
siteconfig.php
languagePlugins-1Plugins-1
Plugins-1language
language
Make bn
Copy engish.php to bengali_utf-8.php Content: ***_bn Configuration:
Configuration
Configuration
Multi Language Site
http://www.jtb-gts.com/
Multi Language Site
<a href="/switchlang.php/en">English</a> | <a href="/switchlang.php/zh"> 中文 ( 简体 )</a> | <a href="/switchlang.php/ct"> 中文 ( 繁體 ) </a> | <a href="/switchlang.php/ko"> 한국어 </a>
switchlang.php : Switch language program
ID: XXX_(language code ISO-639)
http://www.jtb-gts.com/staticpages/index.php/about_us_en
http://www.jtb-gts.com/staticpages/index.php/about_us_en
http://www.jtb-gts.com/staticpages/index.php/about_us_ct
http://www.jtb-gts.com/staticpages/index.php/about_us_ko
Siteconfig.php
$_CONF['site_name_zh'] = 'JTB 夏威夷旅游有限公司 '; $_CONF['site_slogan_zh'] = " 夏威夷最大的多语言入境旅游管理公司 "; $_CONF['owner_name_zh'] = 'JTB 夏威夷旅游有限公司保留所有权利 '; $_CONF['locale_zh'] = 'zh_CN.GB2312.UTF-8'; $_CONF['date_zh'] = '%Y/%m/%d %I:%M %Z'; $_CONF['daytime_zh'] = '%m/%d %I:%M'; $_CONF['shortdate_zh'] = '%Y/%m/%d'; $_CONF['dateonly_zh'] = '%m-%d'; $_CONF['timeonly_zh'] = '%I:%M %Z'; $_CONF['week_start_zh'] = 'Sun'; $_CONF['hour_mode_zh'] = '24'; $_CONF['thousand_separator_zh'] = ','; $_CONF['decimal_separator_zh'] = '.'; $_CONF['meta_description_zh'] = ' 夏威夷旅游有限公司是夏威夷最大的多语种入境旅游
运营商,面向个人,团体,活动策划和奖励旅游团提供全方位的管理服务, 并配有专业的英语,韩国语和中国语服务。 ';
$_CONF['meta_keywords_zh'] = ' 夏威夷入境旅游运营商 ,夏威夷套餐旅行 ,夏威夷教育旅行团 ,夏威夷大型活动 ,夏威夷团体旅游 ';
How to make a link to other language
Download:記事に多言語記事が存在すればリンクを作成するハック for Geeklog 1.7-2.1http://hiroron.com/downloads/index.php/custom_multilangstory
add storytext.thtml, article/article.thtmlautotag:
{!!autotags multilangstory:'.{story_id}.' !!}
Hack: Any template can use {languageid}
lib_common.php COM_newTemplate() hack
function COM_newTemplate($root, $options = Array())
/* Add template var languageid */ $T->set_var(‘languageid', COM_getLanguageId());