Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Developers' Forum

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 6th June 2009, 15:20
mccharlet mccharlet is offline
Senior Member
 
Join Date: Feb 2007
Posts: 261
Thanks: 60
Thanked 10 Times in 7 Posts
Default Question translate

Hi,

I want translate in french, but when i want modifed le left menu in the file ispconfig/interface/web/admin/lang/fr.lng, i don't work !!!
__________________
Thanks
Cédric

Sorry for my english

Hosting : http://www.jheberge.ch
Reply With Quote
Sponsored Links
  #2  
Old 6th June 2009, 15:44
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,344
Thanks: 810
Thanked 5,173 Times in 4,055 Posts
Default

The translation for the left menu is also in the lang files, but it might be cached, so you have to logout and login again.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 6th June 2009, 16:15
mccharlet mccharlet is offline
Senior Member
 
Join Date: Feb 2007
Posts: 261
Thanks: 60
Thanked 10 Times in 7 Posts
Default

I have delete template files and logout, but this is the same problem
__________________
Thanks
Cédric

Sorry for my english

Hosting : http://www.jheberge.ch
Reply With Quote
  #4  
Old 7th June 2009, 14:39
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,344
Thanks: 810
Thanked 5,173 Times in 4,055 Posts
Default

Do not delete templates, in this case the english words are used.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 7th June 2009, 15:15
mccharlet mccharlet is offline
Senior Member
 
Join Date: Feb 2007
Posts: 261
Thanks: 60
Thanked 10 Times in 7 Posts
Default

Temporary files and not template
Sorry
__________________
Thanks
Cédric

Sorry for my english

Hosting : http://www.jheberge.ch
Reply With Quote
  #6  
Old 9th June 2009, 15:22
mccharlet mccharlet is offline
Senior Member
 
Join Date: Feb 2007
Posts: 261
Thanks: 60
Thanked 10 Times in 7 Posts
Default

The problem is only for the left menu. with email, that don't works

If i modified this file web/admin/lib/lang/fr_server_ip_list.lng, no problem
__________________
Thanks
Cédric

Sorry for my english

Hosting : http://www.jheberge.ch

Last edited by mccharlet; 9th June 2009 at 21:20.
Reply With Quote
  #7  
Old 15th June 2009, 19:06
radim_h radim_h is offline
Senior Member
 
Join Date: Jan 2007
Location: Prague, Czech
Posts: 416
Thanks: 33
Thanked 23 Times in 18 Posts
Send a message via ICQ to radim_h
Default

I can confirm - left menu isn't translated for ANY language, even if the lang files are on the place
as in http://www.howtoforge.com/forums/showthread.php?t=35749
Reply With Quote
  #8  
Old 29th June 2009, 18:28
Gimly Gimly is offline
HowtoForge Supporter
 
Join Date: Mar 2007
Location: France
Posts: 144
Thanks: 26
Thanked 4 Times in 4 Posts
Default

Exactly, I've the same problem :s. Can you look at this bug please ? Thanks
__________________
4 virtual machines with Debian Lenny updated on proxmox (openvz) with ISPConfig 3.0.1.6

ns1 : http(s), ftp(s), DNS Master, ISPConfig
sql : MySQL database users
mail : All mail system
ns2 : DNS Slave

ISPConfig.be Admin's
Reply With Quote
  #9  
Old 29th June 2009, 18:31
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,344
Thanks: 810
Thanked 5,173 Times in 4,055 Posts
Default

This has already been fixed in SVN some time ago and will be part of the next release.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
The Following User Says Thank You to till For This Useful Post:
Gimly (29th June 2009)
  #10  
Old 29th June 2009, 19:50
mccharlet mccharlet is offline
Senior Member
 
Join Date: Feb 2007
Posts: 261
Thanks: 60
Thanked 10 Times in 7 Posts
 
Default

This resolve the problem
Quote:
line 160 in this file : /usr/local/ispconfig/interface/lib/app.inc.php

if(!file_exists($lng_file)) $lng_file = '/web/'.$_SESSION['s']['module']['name'].'/lib/lang/en.lng';
remplace by
if(!file_exists('/usr/local/ispconfig/interface'.$lng_file)) $lng_file = '/web/'.$_SESSION['s']['module']['name'].'/lib/lang/en.lng';

line 119 in this file : /usr/local/ispconfig/interface/admin/software_package_list.php
include_once('lib/lang/en_software_package_list.lng');
remplace by
include_once('lib/lang/'.$_SESSION['s']['language'].'_software_package_list.lng');



line 214 in this file : /usr/local/ispconfig/interface/admin/software_update_list.php
include_once('lib/lang/en_software_update_list.lng');
remplace by
include_once('lib/lang/'.$_SESSION['s']['language'].'_software_update_list.lng');
And it's OK
__________________
Thanks
Cédric

Sorry for my english

Hosting : http://www.jheberge.ch
Reply With Quote
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
Networking: Routing / subnet question paulievox HOWTO-Related Questions 1 15th February 2010 23:45
Hostname question, and DNS question andrewfashion General 1 20th April 2009 13:30
Question about LoabBalancer with Pound/Keepalived. 4nDr3s HOWTO-Related Questions 1 11th November 2007 13:55
emails domains and co-domains question bug or a feature omadon Installation/Configuration 3 27th November 2006 10:17
Really Basic Question !!! brainz Installation/Configuration 7 13th March 2006 23:20


All times are GMT +2. The time now is 00:20.


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