cal | ext | Wrong language detected

For discussing the Mozilla Calendar, Sunbird and Lightning projects.
Post Reply
frol
Posts: 3
Joined: April 23rd, 2004, 11:56 am
Location: Denmark

cal | ext | Wrong language detected

Post by frol »

Hi,
I installed the Calendar extension on two different configurations:<ol>
<li>Linux | <b>Danish</b> | Firefox </li>
<li>Windows | <b>Danish</b> | Thunderbird</li></ol>
In both case, the language was wrong! In 1. it installed in <b>Czech</b>, in 2. it installed in <b>German</b>...
I understand that Danish might not be supported, but then why not default to English instead of guessing some fancy :wink: languages?
And how do I repair that mess? :furious:
faun
Posts: 190
Joined: December 4th, 2003, 11:44 am
Location: Germany

Post by faun »

frol
Posts: 3
Joined: April 23rd, 2004, 11:56 am
Location: Denmark

Post by frol »


I had a look at it <em>before</em> posting. Doesn't seem to apply...
By the way, I installed the extension on a <em>danish</em> Mozilla Suite 1.7.5/Win32. It works fine and speaks <em>english</em>!
User avatar
Rod Whiteley
Posts: 11480
Joined: December 6th, 2004, 3:41 am
Location: UK

Post by Rod Whiteley »

Calendar installs all its languages, then displays one of them at run time. So the installation is not a mess. If the requested locale is not supported, then it seems to have a problem picking a sensible fallback. I think Ihave read about this previously, but I cannot remember where.

I guess the easiest workaround is to register da-DK. In your profile directory, edit chrome/chrome.rdf and make entries for urn:mozilla:locale:da-DK:calendar by copying the entries for some other language. Make da-DK point to the English translation in calendar.jar.

I have not tried this myself, but I might try it later and post more details.
Rod
Post Reply