1 (edited by Dirk 2024-06-23 02:41:23)

Topic: Auto language

Detect browser language and make a choice button to switch between own language or browser language.
Make it for the admin to set this in settings.

Gras groeit niet sneller door er aan te trekken !
Grass does not grow faster by pulling it!

Re: Auto language

Hi Dirk,
That is a good idea. I will see what can be done.
After some analysis (one or two days) I will be back here and let you know the outcome.
Roel

Re: Auto language

Thanks.

Gras groeit niet sneller door er aan te trekken !
Grass does not grow faster by pulling it!

Re: Auto language

Hi Dirk,
I've run a few tests which show that using the browser language to select the calendar's user interface language works fine. So I will implement this.
It will work as follows:
• For logged in users the language from the user profile will be used. No change needed, this is already the case.
• For public users (not logged in) the browser language will be taken. If no browser language is found or the browser language is not a valid calendar language, the default language specified by the admin on the settings page will be taken.
I think no changes are needed for the admin's settings page.

Does this meet your expectations?

This will be part of the next LuxCal calendar version.
Roel

Re: Auto language

Hi Roel,

That's what i mean.

Thanks.

Do you know a date when the next version will be released?

Dirk

Gras groeit niet sneller door er aan te trekken !
Grass does not grow faster by pulling it!

Re: Auto language

Hi Dirk,
No release date has been fixed yet. Most probably towards the end of July.

The change has been implemented. If this change is important for you, I can send you a patch with the changes by email.
Let me know if you want this.
Roel

Re: Auto language

Hi Roel,

That would be nice!

Dirk

Gras groeit niet sneller door er aan te trekken !
Grass does not grow faster by pulling it!