Janez Pirc wrote:

And also another question on the subject; why doesn't the selection of the default language work? I selected my language to be the default in config.xml, but the OpenCA web interface always starts in english ("C")
language. When I switch to my, or any other language it of course works normally, till next login...hm?


thats simple: we have introduced a feature which does the following:
taking the browsers language preferences and checking against the available languages, if no match is reached -> english gets shown at the moment


the corresponding code you will find there:
lib/functions/initServer starting at line 266
  - you may add the new language to the array, this will find
    it, if your browser is set to support it
  - line 331 is hardcoded at the moment, but on todo list:
    ## FIXME:
    ## set default en if no matching language can be found
    ## or set it to the defined default language
    ## or do nothing so the initServer Lang gets used? set in line: 85
    setLanguage($supportedLanguages{'en'}->{'LANG'},
                $supportedLanguages{'en'}->{'CHARSET'}) if not $found;
  - so you can set this to the required language insted of english or
    comment it out, i wasn't sure what would be best there... maybe this
    line of code isn't necessary at all ,o)

i will have no time before friday - so it may take till monday untill i have changed the code, but you are free to make some changes and post them here as an diff - so take a look and put it in the cvs

maybe one of the other developers have some time for it before
you should restart the server after codechanges in initServer ,o)


greetings dalini -- Ives Steglich Email: [EMAIL PROTECTED] System Administration Tel.: +49 (0)3677 - 69 4382/4383 Fax: +49 (0)3677 - 69 4399

Fraunhofer Institute for Digital Media Technology
Langewiesener Strasse 22
98693 Ilmenau                Email (private): [EMAIL PROTECTED]
Germany                      http://www.openca.org


------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ OpenCA-Devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/openca-devel

Reply via email to