
10th December 2005, 13:39
|
|
Member
|
|
Join Date: Nov 2005
Posts: 50
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
how to create a language package?
how to create a language package?
|

10th December 2005, 13:47
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 19,805
Thanks: 285
Thanked 1,805 Times in 1,357 Posts
|
|
You will have to start with an existing anguage pack, e.g english (en). If you want to build e.g a finnish translation, make a copy of all en.lng files above the directory:
/home/admispconfig/ispconfig/
and name the files fi.lng. Then translate the contents. Only the string on the right side of the "=" of course ;-)
|

10th December 2005, 15:15
|
|
Member
|
|
Join Date: Nov 2005
Posts: 50
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
after that the language fl with come to a option in tools--language ?
and i haven't found any lang file in that directory
|

10th December 2005, 16:08
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,853
Thanks: 781
Thanked 1,558 Times in 1,477 Posts
|
|
|

10th December 2005, 16:13
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 19,805
Thanks: 285
Thanked 1,805 Times in 1,357 Posts
|
|
Quote:
|
Originally Posted by flourishing
after that the language fl with come to a option in tools--language ?
|
Yes.
Quote:
|
and i haven't found any lang file in that directory
|
They are not IN the directory, there are in many directories above this path!
run:
locate en.lng
to get a listing of all english language files.
|

10th December 2005, 22:39
|
|
Member
|
|
Join Date: Nov 2005
Posts: 50
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
not really .
i have create cn.lng in that directories. but i can 't find the option cn in
tools --language.
what is the more steps to make the new cn.lang can be displayed in tools---language???
|

10th December 2005, 23:39
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 19,805
Thanks: 285
Thanked 1,805 Times in 1,357 Posts
|
|
There are no more steps, but you have not created all lng files. You missed the master language file:
/home/admispconfig/ispconfig/lib/lang/cn.lng
|

11th December 2005, 12:36
|
|
Member
|
|
Join Date: Nov 2005
Posts: 50
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
yeah. i missed that file in isp .
and now it works .
but most parts of gui works fine .but some displayed mess.
such as first line and the text under the button . where i can modified it ?
|

11th December 2005, 12:42
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 19,805
Thanks: 285
Thanked 1,805 Times in 1,357 Posts
|
|
Quote:
|
Originally Posted by flourishing
such as first line and the text under the button . where i can modified it ?
|
I dont know which text under which button you mean. All texts are in the language files.
|

11th December 2005, 13:26
|
|
Member
|
|
Join Date: Nov 2005
Posts: 50
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
yes i know all the text are in lang file
except the button and the first line text displayed mass , i don'know why ,but the other works fine.
see this jpg
Last edited by flourishing; 11th December 2005 at 13:33.
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 09:59.
|
Recent comments
1 day 1 hour ago
1 day 6 hours ago
1 day 6 hours ago
1 day 7 hours ago
1 day 8 hours ago
1 day 10 hours ago
1 day 12 hours ago
1 day 12 hours ago
1 day 13 hours ago
1 day 14 hours ago