BinaryWorks.it Official Forum
BinaryWorks.it Official Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 eXtreme Movie Manager (Rel. 7), No More Updates
 Bug Report
 German AKA's on movie cards
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

Shocker74
Starting Member

Sweden
43 Posts

Posted - 24 Apr 2011 :  00:40:16  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
I have a swedish windows 7, and use the english.ini for the program.
Yet in a recent update suddenly i see the AKA with the german titles on all movies on the movie cards?
Any way i can fix it or is it perhaps a new bug you have to squeeze out?

JDommi
Administrator

Germany
4654 Posts

Posted - 24 Apr 2011 :  00:53:40  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
The AKAs normally should take your windows system language...

var srcLang = window.navigator.systemLanguage;
    var srcTerm = null;
    switch (srcLang) {
    case (srcLang="sv"): srcTerm = 'Sweden'; break;
    case (srcLang="sv-fi"): srcTerm = 'Finland (Swedish'; break;


I just have tested the routine by moving the swedish locale to first position and ther german AKAs are correctly shown.
In general_functions.js is the code for it.
Please add after "var srcTerm = null;" the follwing line:
alert(srcLang);
Please check the result if it's correct.

In order to achieve what is possible, you have to try the impossible over and over again.
Hermann Hesse

Edited by - JDommi on 24 Apr 2011 01:11:22
Go to Top of Page

Prinz
Senior Member

Germany
1522 Posts

Posted - 24 Apr 2011 :  01:23:56  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
I just read that the IE reports for the systemLanguage the default language of the Windows Install.

To get the current users preferred language we have to use the userLanguage property in IE.

http://help.dottoro.com/ljrgmohb.php

http://help.dottoro.com/ljgtasfq.php
Go to Top of Page

Prinz
Senior Member

Germany
1522 Posts

Posted - 24 Apr 2011 :  02:22:06  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Sorry the entire case block is simply wrong javascript. I didn't look twice at this block, but that can't work.

The function can never work this way and gives always de back. (because it set the variable to de in the first line )

Edited by - Prinz on 24 Apr 2011 02:26:50
Go to Top of Page

Shocker74
Starting Member

Sweden
43 Posts

Posted - 24 Apr 2011 :  03:56:51  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
I have no idea at all how to fix it at my end.
There's lots of folders and files in the program folder, getting sea sick just looking at them all. :)

I can't even open up the file you're talking about, nothing happens when i click on it.


Edited by - Shocker74 on 24 Apr 2011 16:37:02
Go to Top of Page

JDommi
Administrator

Germany
4654 Posts

Posted - 24 Apr 2011 :  16:40:53  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Just load the new card from http://www.binaryworks.it/forum/topic.asp?TOPIC_ID=7533&whichpage=19
Prinz has already fixed it ;)

In order to achieve what is possible, you have to try the impossible over and over again.
Hermann Hesse
Go to Top of Page

Shocker74
Starting Member

Sweden
43 Posts

Posted - 25 Apr 2011 :  14:25:43  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Aah great, just tried it. Thanks. :)
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
BinaryWorks.it Official Forum © Binaryworks.it Go To Top Of Page
Generated in 0.11 sec. Powered By: Snitz Forums 2000 Version 3.4.07