SibSoft Ltd.
Development Services
software products
 RegisterRegister    SearchSearch   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
EZYWebhost - Cheap XUpload & XFileSharing 100% campatible hosting

AJAX upload progress bar

File sharing script
[Solved] Can't locate object method "getLang"

 
Post new topic   Reply to topic    SibSoft Ltd Forum Index -> XFileSharing Pro
View previous topic :: View next topic  
Author Message
Rocket_Man



Joined: 28 May 2008
Posts: 19

PostPosted: Aug 10, 2008 9:45 pm    Post subject: [Solved] Can't locate object method "getLang" Reply with quote

I follow the four steps in instructions for Multilanguage Support and get the following error, when choosing my new language.

Quote:
Software error:
Can't locate object method "getLang" via package "danish" (perhaps you forgot to load "danish"?) at Modules/Session.pm line 58.


What can I do more to correct?


Last edited by Rocket_Man on Aug 12, 2008 10:56 am; edited 1 time in total
Back to top
View user's profile Send private message
PilgrimX182



Joined: 22 Mar 2006
Posts: 1107
Location: Undisclosed location

PostPosted: Aug 11, 2008 5:56 am    Post subject: Reply with quote

There's a little trick I probably forgot to mention in INSTALL: you also need to edit first line of .lng file:

replace
Code:
package english;

with
Code:
package danish;


Can you contribute us Danish language pack when it will be ready?
Back to top
View user's profile Send private message Visit poster's website AIM Address
Rocket_Man



Joined: 28 May 2008
Posts: 19

PostPosted: Aug 11, 2008 1:47 pm    Post subject: Reply with quote

Thank you my friend. It works Smile

Didn't notice that line myself but it was obvious now you tell Wink

I don't mind to share my work with lang-file. Guess we all can benefit from translations to many languages. Will send you when done.
Back to top
View user's profile Send private message
Rocket_Man



Joined: 28 May 2008
Posts: 19

PostPosted: Aug 11, 2008 7:26 pm    Post subject: Reply with quote

New (old) small "annoying" thing -->

Special charactors (still) show up as strange ��� from my adjusted Danish language. Strange thing is, that when choosing German all spacial charactors show up OK in German. Do you have a hint on what to try?

I have with previous version been forced to use unicode numerical character references to make script/html output to show the special characters of my language. I would very much avoid this. So, what might i overlook you think?
Back to top
View user's profile Send private message
PilgrimX182



Joined: 22 Mar 2006
Posts: 1107
Location: Undisclosed location

PostPosted: Aug 12, 2008 5:47 am    Post subject: Reply with quote

Use UTF-8 codepage to edit .lng file.
Back to top
View user's profile Send private message Visit poster's website AIM Address
Rocket_Man



Joined: 28 May 2008
Posts: 19

PostPosted: Aug 12, 2008 10:56 am    Post subject: Reply with quote

Doh! *hammering head against screen*

I learn something every day Very Happy

Thank you again! Smile
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    SibSoft Ltd Forum Index -> XFileSharing Pro All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group