Adding new language problem

Please post here if you have problems in using Wing FTP Server.
Post Reply
abix_adamj
Posts: 3
Joined: Tue Nov 02, 2010 8:08 pm

Adding new language problem

Post by abix_adamj »

Hi,
I've just installed wftpserver on my Debian box; I want to add new language: Polish.
So I've made following changes:

~/wftpserver/webadmin/language.html with line:

Code: Select all

local all_lang = {"english","polish"}

~/wftpserver/webadmin/main.html
with line:

Code: Select all

local all_lang = {"english","polish"}
I've add the file
~/wftpserver/webadmin/language/polish.html
with some Polish translation.

I've restarted service with:

Code: Select all

/etc/init.d/wftpserver restart
And now I'm trying to connect with my server http://xxx.yyy.zz:5466
but in the drop-down list with Languages I see still all the Languages, but there is no polish one. Is this drop-down list fixe coded in binary of wing-server?

I want to make Polish language translation to Wing, because I have a client for it, but polish language is a must. Could you help me with this?

Best regards,
Adam
FTP
Site Admin
Posts: 2072
Joined: Tue Sep 29, 2009 6:09 am

Re: Adding new language problem

Post by FTP »

You may edit file "webadmin/admin_login.html" by yourself, add your language like other languages. Or you can send your translations to us, we may add it in the next version.
abix_adamj
Posts: 3
Joined: Tue Nov 02, 2010 8:08 pm

Re: Adding new language problem

Post by abix_adamj »

I've edit the file ~/wftpserver/webadmin/admin_login.html with :

Code: Select all

local all_lang = {"english","polish"}
But still I cannot change the language in web browser.
See the picture:
Image

I want to ask for help to make an entry in that list.

best regards,
Adam
FTP
Site Admin
Posts: 2072
Joined: Tue Sep 29, 2009 6:09 am

Re: Adding new language problem

Post by FTP »

You need to modify some javascript code, from line 111 to line 156.
abix_adamj
Posts: 3
Joined: Tue Nov 02, 2010 8:08 pm

Re: Adding new language problem

Post by abix_adamj »

Thank you for this hint - I'll try, also I'll make Polish translation and I'll send it to you to include in next version.

Adam
Chakra
Posts: 2
Joined: Fri Nov 02, 2012 7:17 am

Re: Adding new language problem

Post by Chakra »

Which file (javascript) to edit?
to install a new language
FTP
Site Admin
Posts: 2072
Joined: Tue Sep 29, 2009 6:09 am

Re: Adding new language problem

Post by FTP »

Chakra wrote:Which file (javascript) to edit?
to install a new language
For the web client or the web admin?
Chakra
Posts: 2
Joined: Fri Nov 02, 2012 7:17 am

Re: Adding new language problem

Post by Chakra »

I translate the program into Russian!
web client or the web admin.
Poluchaetsya not add the Russian language in the tray, what am I doing wrong? If such perermenovat schinese.lng it works!
FTP
Site Admin
Posts: 2072
Joined: Tue Sep 29, 2009 6:09 am

Re: Adding new language problem

Post by FTP »

You can send your translation to us via email, maybe we will consider to add it in the next version.
Post Reply