Page 1 of 1

Language detection at login

PostPosted:Mon Dec 28, 2009 11:15 am
by bidouille
Hello,

When I run OpenKM in my french browser, the login screen is in english.

Is it possible to detect browser localisation to show this window in a specific language?
Is it possible to add a list to change language?

Thank you

Re: Language detection at login

PostPosted:Mon Dec 28, 2009 8:04 pm
by jllort
In OpenKM.cfg you can set the default language file for all users ( remember you must restart jboss server after any OpenKM.cfg file change ).
Code: Select all
default.lang=fr_FR 
or
Code: Select all
default.lang=fr
By default openkm might detect your browser language, we'd must investigate why not changes automatically to french in your case. It happens with other computer in your network and same or other browser ?

Re: Language detection at login

PostPosted:Tue Dec 29, 2009 3:55 pm
by bidouille
OK that's work

But:
Is it possible to add a list to change language?
Maybe helpfull for us

Thanks

Re: Language detection at login

PostPosted:Tue Dec 29, 2009 5:55 pm
by jllort
In menu tools -> language you can change there to other languages, that was your question ?

Re: Language detection at login

PostPosted:Wed Dec 30, 2009 1:05 pm
by bidouille
OK I show you that we'll like to have
Simple login window
Simple login window
loginOKM_0.PNG (36.2 KiB) Viewed 34290 times
Complete login window if you click on Settings
Complete login window if you click on Settings
loginOKM_1.PNG (40.38 KiB) Viewed 34290 times

Re: Language detection at login

PostPosted:Thu Dec 31, 2009 10:04 am
by jllort
OK, now I've understand you :)

I think it'll not be easy to be done probably it could be some problem in pass of parameters. We'll I've added in our tracking system as and enhancement and I'll try do it for next 5.0 release.

Re: Language detection at login

PostPosted:Wed Sep 14, 2022 6:14 pm
by mahdi maleki
Hello,

I want to set default language for mobile, and I set default.lang in OpenKM.cfg and it's work in desktop but in mobile not changed.

how can I set default language for mobile version?

Re: Language detection at login

PostPosted:Thu Sep 15, 2022 1:50 pm
by bidouille
Wow, you dig up a post from 2009.
Open your own thread will be better, right?

Re: Language detection at login

PostPosted:Mon Oct 03, 2022 9:10 am
by jllort
About mobile, I think currently is not implemented, I suggest add the issue here https://github.com/openkm/document-mana ... tem/issues