Re: [DQSD-Users] Language problems
Hello, Great to hear it's fixed already (I fixed it myself locally as well), and what a nice warm welcome here :-) Why wouldn't you simply use the interface language (navigator.systemLanguage), because in DQSD this language setting is only used for translation of strings. It simply makes no sense to translate DQSD in dutch, just because I use Euro's and write a comma as decimal separator, while the entire system is in English language... Ok, I think I've made my point now :-) Btw, is there anyway to reduce the height of the edit field? Right now it uses the entire height of the taskbar... With my current Windows XP skin it even looks as if it's drawn one pixel outside the Windows taskbar, and the typed-in text uses only half of the edit field... I must admit I haven't looked into the source files this time, so I apologize for being lazy and ask immediately ;-) Kind regards, Sebastian Groeneveld Kim Gräsman wrote: > Hi Sebastian, > > I've already merged a fix for the language-override problem, so that > should be included in the next release. > However, the userLanguage vs systemLanguage issue is still open - I'm > not sure what the general thoughts on this one is. > > Kim > --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ To unsubscribe visit: https://lists.sourceforge.net/lists/listinfo/dqsd-users [EMAIL PROTECTED] http://sourceforge.net/mailarchive/forum.php?forum_id=8601
RE: [DQSD-Users] Language problems
Hi Sebastian, I've already merged a fix for the language-override problem, so that should be included in the next release. However, the userLanguage vs systemLanguage issue is still open - I'm not sure what the general thoughts on this one is. Kim > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > S.V. Groeneveld > Sent: den 27 augusti 2003 03:21 > To: [EMAIL PROTECTED] > Subject: [DQSD-Users] Language problems > > > Hi, > > I have no idea whether this list is actually used or read by > anyone, I just joined it... actually, I just downloaded dqsd > and I already like it :-) > > I noticed it uses the "navigator.userLanguage" to determine > the default language, but this is only the configuration of > regional settings. A better option would be to use the > "navigator.systemLanguage", since that contains the interface > language. > > For example, my whole system is in English, but my regional > settings are Dutch, just because of the currency, date & time > formats, etc... not for the language... DSQDeskbar has > nothing to do with regional settings, so it should use the > system language. > > Ok, that's one issue... > But then I noticed the preference setting "language=en" to > override the default, and that simply doesn't work... Have a > look at the "search.htm" file: > First you include "preferences.js", then "localprefs.js", > and THEN you determine the default language so in fact > the default language overrides the user settings... The > solution is to move the call to "getDefaultLanguage()" to the > top, and also the "tools.js" which contains that function. > The call to "initGlobals()" should stay where it is. > > I wish I could add it to CVS myself ;-) > > Kind regards, > Sebastian Groeneveld > --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ To unsubscribe visit: https://lists.sourceforge.net/lists/listinfo/dqsd-users [EMAIL PROTECTED] http://sourceforge.net/mailarchive/forum.php?forum_id=8601
RE: [DQSD-Users] Language problems
Title: Message By the way... thanks for the heads up on the language thing. JB -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of S.V. GroeneveldSent: Tuesday, August 26, 2003 8:21 PMTo: [EMAIL PROTECTED]Subject: [DQSD-Users] Language problems Hi, I have no idea whether this list is actually used or read by anyone, I just joined it... actually, I just downloaded dqsd and I already like it :-) I noticed it uses the "navigator.userLanguage" to determine the default language, but this is only the configuration of regional settings. A better option would be to use the "navigator.systemLanguage", since that contains the interface language. For example, my whole system is in English, but my regional settings are Dutch, just because of the currency, date & time formats, etc... not for the language... DSQDeskbar has nothing to do with regional settings, so it should use the system language. Ok, that's one issue... But then I noticed the preference setting "language=en" to override the default, and that simply doesn't work... Have a look at the "search.htm" file: First you include "preferences.js", then "localprefs.js", and THEN you determine the default language so in fact the default language overrides the user settings... The solution is to move the call to "getDefaultLanguage()" to the top, and also the "tools.js" which contains that function. The call to "initGlobals()" should stay where it is. I wish I could add it to CVS myself ;-) Kind regards, Sebastian Groeneveld
RE: [DQSD-Users] Language problems
Title: Message Thanks Sebastian. For starters you could make the changes yourself and e-mail the files to this list or the developers list. If you want CVS access all you have to do is agree to abide by the general guidelines at www.dqsd.net/faq.htm or www.dqsd.net/faq.xml in the Coding section. Then ask for CVS permissions and one of our admins will grant it. Here are dome general guidelines I shared with another new developer earlier today If it is minor tweak... do it. If it is a bigger tweak... try to make it an option that default behaves as current behavior. If it is a major change.. propose it to the dev list. Always look for a way to make it optional and consistent current behavior unless kicked around amongst the developers. For big changes that might be outside the main scope of DQSD, think of making it an add-on. Brent B has done this with his Genealogy add-on which has probably well over 100 searches. Add-ons give the added benefit in that they are not installed with the main build and thus no overhead to those who won't use it. Don't go all renegade on us... but the nature of CVS allows us to back out changes the 'team' decides to reverse. JB -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of S.V. GroeneveldSent: Tuesday, August 26, 2003 8:21 PMTo: [EMAIL PROTECTED]Subject: [DQSD-Users] Language problems Hi, I have no idea whether this list is actually used or read by anyone, I just joined it... actually, I just downloaded dqsd and I already like it :-) I noticed it uses the "navigator.userLanguage" to determine the default language, but this is only the configuration of regional settings. A better option would be to use the "navigator.systemLanguage", since that contains the interface language. For example, my whole system is in English, but my regional settings are Dutch, just because of the currency, date & time formats, etc... not for the language... DSQDeskbar has nothing to do with regional settings, so it should use the system language. Ok, that's one issue... But then I noticed the preference setting "language=en" to override the default, and that simply doesn't work... Have a look at the "search.htm" file: First you include "preferences.js", then "localprefs.js", and THEN you determine the default language so in fact the default language overrides the user settings... The solution is to move the call to "getDefaultLanguage()" to the top, and also the "tools.js" which contains that function. The call to "initGlobals()" should stay where it is. I wish I could add it to CVS myself ;-) Kind regards, Sebastian Groeneveld
[DQSD-Users] Language problems
Hi, I have no idea whether this list is actually used or read by anyone, I just joined it... actually, I just downloaded dqsd and I already like it :-) I noticed it uses the "navigator.userLanguage" to determine the default language, but this is only the configuration of regional settings. A better option would be to use the "navigator.systemLanguage", since that contains the interface language. For example, my whole system is in English, but my regional settings are Dutch, just because of the currency, date & time formats, etc... not for the language... DSQDeskbar has nothing to do with regional settings, so it should use the system language. Ok, that's one issue... But then I noticed the preference setting "language=en" to override the default, and that simply doesn't work... Have a look at the "search.htm" file: First you include "preferences.js", then "localprefs.js", and THEN you determine the default language so in fact the default language overrides the user settings... The solution is to move the call to "getDefaultLanguage()" to the top, and also the "tools.js" which contains that function. The call to "initGlobals()" should stay where it is. I wish I could add it to CVS myself ;-) Kind regards, Sebastian Groeneveld