Help Center Live Community
September 02, 2010, 03:22:25 PM
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
:
Home
Help
Search
Login
Register
Help Center Live Community
>
General
>
Web Site Discussion
(Moderator:
HCL Admin
) >
HCL for bilingue website
Pages: [
1
]
Go Down
« previous
next »
Print
Author
Topic: HCL for bilingue website (Read 3438 times)
voxinteractif
Not too much to say...
Offline
Posts: 4
HCL for bilingue website
«
on:
July 20, 2009, 08:22:21 PM »
Hi guys,
does anyone know how to setup HCL for a bilingual website?
Best Regards.
Logged
voxinteractif
Not too much to say...
Offline
Posts: 4
Re: HCL for bilingue website
«
Reply #1 on:
July 21, 2009, 04:05:11 PM »
ok, i found a solution:
1 - i created a new department for the french language
2 - i generated a new code for this department to include in the page i want the hcl module appears
3 - i created a french. php file (translate the english. php file in french)
4 - i installed it in the hcl/lang directory
5 - finally i edited the hcl/ config. php file and replace the line 79 ($conf['lang'] = 'english'; ) by the following code:
if (isset($_GET['departmentid']) ) { // the departmentid is generated when you create a new department
if ($_GET['departmentid'] == 2){ // id of my 2nd department
$conf['lang'] = 'french';
}else{
$conf['lang'] = 'english';
}
}
else{ // for the admin side (if you omit it, you will have an error in your admin page)
$conf['lang'] = 'english';
}
«
Last Edit: July 21, 2009, 04:59:40 PM by voxinteractif
»
Logged
SpenserJ
HCL Regular
Offline
Posts: 179
Some helpful guy
Re: HCL for bilingue website
«
Reply #2 on:
July 21, 2009, 04:24:35 PM »
That is awesome to hear! Good work man!
Spenser
Logged
I am
NOT
a developer for HelpCenterLive. I am just trying to help out anyone that has issues. If you have a problem, check the
list of fixes
and then create a
new
topic
Pages: [
1
]
Go Up
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> Announcements
=> General Discussion
=> Web Site Discussion
-----------------------------
Support
-----------------------------
=> Installation Help & Software Support
=> Paid installation board
=> Daily Operations
=> Tips and Tricks
=> Official HclApp Support
=> Unofficial WinApp Support
-----------------------------
Development
-----------------------------
=> Core System Development
===> Bug Discussions
===> New Feature Discussion
===> Feature Requests
=> Module Development
===> Module Requests
===> eTicket
=> Themes
Loading...