Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 15th June 2009, 18:18
fhawk fhawk is offline
Member
 
Join Date: Mar 2009
Posts: 39
Thanks: 2
Thanked 11 Times in 9 Posts
Default the problem about changing language!

If I change language,I must edit the file:/usr/local/ispconfig/interface/lib/app.inc.php
change:
if(!file_exists($lng_file)) $lng_file = ISPC_ROOT_PATH.'/web/'.$_SESSION['s']['module']['name'].'/lib/lang/en.lng';
to:
if(!file_exists($lng_file)) $lng_file = ISPC_ROOT_PATH.'/web/'.$_SESSION['s']['module']['name'].'/lib/lang/cn.lng';

otherwise,the language showed in ispconfig3 is English!
I am sorry,my english is poor!!!
Reply With Quote
Sponsored Links
  #2  
Old 15th June 2009, 18:20
fhawk fhawk is offline
Member
 
Join Date: Mar 2009
Posts: 39
Thanks: 2
Thanked 11 Times in 9 Posts
Default

I use ispconfig 3.0.1.3!!!
Reply With Quote
  #3  
Old 16th June 2009, 14:59
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 35,775
Thanks: 821
Thanked 5,332 Times in 4,184 Posts
Default

I will check that.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #4  
Old 17th June 2009, 14:45
fhawk fhawk is offline
Member
 
Join Date: Mar 2009
Posts: 39
Thanks: 2
Thanked 11 Times in 9 Posts
Default

I guess the reason for this is the function:file_exits()
I edit /lib/app.inc.php
change: if(!file_exists($lng_file))
to:if(!file_exists('/usr/local/ispconfig/interface'.$lng_file))
It's OK!!!

other:
software_package_list.php and software_update_list.php:
include_once('lib/lang/en_software_package_list.lng');
and
include_once('lib/lang/en_software_update_list.lng');
should be changed:
include_once('lib/lang/'.$_SESSION['s']['language'].'_software_package_list.lng');
and
include_once('lib/lang/'.$_SESSION['s']['language'].'_software_update_list.lng');

Last edited by fhawk; 17th June 2009 at 14:48.
Reply With Quote
  #5  
Old 17th June 2009, 15:04
fhawk fhawk is offline
Member
 
Join Date: Mar 2009
Posts: 39
Thanks: 2
Thanked 11 Times in 9 Posts
 
Default

I had made a chinese language package of ispconfig 3.0.1.3,and you can put it into ispconfig3!
download it from http://www.ispcpcn.com/Soft/cn3.0.1.3.zip
Reply With Quote
The Following 2 Users Say Thank You to fhawk For This Useful Post:
falko (18th June 2009), mccharlet (19th June 2009)
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
postfix problems with smtp linkdeb Server Operation 13 15th March 2014 17:58
Strange email problem for one of my domains... any help appreciated paulrobert_a Installation/Configuration 5 9th August 2010 14:15
Problem After Changing Hostname ashkev Installation/Configuration 3 8th February 2007 20:40
SMTP TLS Problem with Mail Client dschmid Installation/Configuration 1 9th December 2005 01:56
Apache language problem toyito Installation/Configuration 2 30th November 2005 04:25


All times are GMT +2. The time now is 18:21.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.