| View previous topic :: View next topic |
| Author |
Message |
Rocket_Man
Joined: 28 May 2008 Posts: 19
|
Posted: Aug 10, 2008 9:45 pm Post subject: [Solved] Can't locate object method "getLang" |
|
|
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 |
|
 |
PilgrimX182

Joined: 22 Mar 2006 Posts: 1107 Location: Undisclosed location
|
Posted: Aug 11, 2008 5:56 am Post subject: |
|
|
There's a little trick I probably forgot to mention in INSTALL: you also need to edit first line of .lng file:
replace
with
Can you contribute us Danish language pack when it will be ready? |
|
| Back to top |
|
 |
Rocket_Man
Joined: 28 May 2008 Posts: 19
|
Posted: Aug 11, 2008 1:47 pm Post subject: |
|
|
Thank you my friend. It works
Didn't notice that line myself but it was obvious now you tell
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 |
|
 |
Rocket_Man
Joined: 28 May 2008 Posts: 19
|
Posted: Aug 11, 2008 7:26 pm Post subject: |
|
|
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 |
|
 |
PilgrimX182

Joined: 22 Mar 2006 Posts: 1107 Location: Undisclosed location
|
Posted: Aug 12, 2008 5:47 am Post subject: |
|
|
| Use UTF-8 codepage to edit .lng file. |
|
| Back to top |
|
 |
Rocket_Man
Joined: 28 May 2008 Posts: 19
|
Posted: Aug 12, 2008 10:56 am Post subject: |
|
|
Doh! *hammering head against screen*
I learn something every day
Thank you again!  |
|
| Back to top |
|
 |
|
|
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
|