View Full Version : Question translate
6th June 2009, 15:20
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 !!!
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.
6th June 2009, 16:15
I have delete template files and logout, but this is the same problem :confused:
Do not delete templates, in this case the english words are used.
7th June 2009, 15:15
Temporary files and not template
9th June 2009, 15:22
The problem is only for the left menu. with email, that don't works :confused:
If i modified this file web/admin/lib/lang/fr_server_ip_list.lng, no problem
15th June 2009, 19:06
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
29th June 2009, 18:28
Exactly, I've the same problem :s. Can you look at this bug please ? Thanks :)
29th June 2009, 18:31
This has already been fixed in SVN some time ago and will be part of the next release.
29th June 2009, 19:50
This resolve the problem
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';
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
line 214 in this file : /usr/local/ispconfig/interface/admin/software_update_list.php
And it's OK
15th July 2009, 21:43
Im updated from svn its safe to do it. um folowing. pratically every day download and update my local repository.
run tool called like:
download from svn updates.
Panel have a translation tool.
Im merge periodically my translation, with english.
Export a language to unique file. Open with a editor with unicode support UTF-8.
All strings on file is a array donīt change anyting at php only strings inside "".
Save your file.
And import again to panel.
To me itīs better than translate one by one. at translator tool in panel.
itīs worked to me, i have 2 ispconfg3 copies one for testing and one for prodution. running into debian lenny (host and guest) and vmware.
vBulletin® v3.8.7, Copyright ©2000-2013, vBulletin Solutions, Inc.