Main menu

Forum


× Help Forum English

[Calendar] Issue with second language

  • robertob
  • Autore della discussione
  • New Member
  • New Member
Di più
6 giorni 12 Ore fa #19043 da robertob
[Calendar] Issue with second language è stato creato da robertob
Hi everyone,I’m encountering an issue after transitioning to the new ICagenda calendar module (plugin version 4.0.6) on Joomla, using the Hydrogen frontend style.When browsing the site in a secondary language, the calendar initially displays events correctly in that language. However, once a specific day is selected, the events switch to those from the default (main) language.Additionally, when navigating between months, the calendar appears to revert to the default language entirely:
  • Month and day labels are displayed in the wrong language
  • Events shown belong to the main language instead of the selected one
This behavior suggests that the language context is not being preserved during calendar interactions.Has anyone experienced a similar issue or found a solution?Thanks in advance for your help.

Si prega Accedi o Crea un account a partecipare alla conversazione.

  • Lyr!C
  • Avatar di Lyr!C
  • Administrator
  • Administrator
  • Lead Developer
Di più
3 giorni 12 Ore fa #19044 da Lyr!C
Risposta da Lyr!C al topic [Calendar] Issue with second language
Hello,

Is it possible to get an online link, and to get info on your browser, version and OS?

Another user reported a similar issue, but i'm not able to get it on his own website: for me it works (no language switch while navigating the calendar module) but not for him on Firefox windows.

Thank you!

Best regards,
Cyril

Latest version : iCagenda 4.0.6
We recommend every user to keep iCagenda updated.
Don't forget to have your Joomla!™ up-to-date!

Do you like iCagenda?
I would appreciate if you could take 5 minutes to post a review on JED (Joomla Extensions Directory) .

File allegato:

Ringraziano per il messaggio: robertob

Si prega Accedi o Crea un account a partecipare alla conversazione.

  • robertob
  • Autore della discussione
  • New Member
  • New Member
Di più
3 giorni 7 Ore fa - 3 giorni 7 Ore fa #19046 da robertob
Risposta da robertob al topic [Calendar] Issue with second language
Hi,

Thanks for the feedback

You can find the website that has the problem here: www.atts.to.it/en/home (bottom of the page)

Keep in mind that Italian is the default language, while en-GB is the secondary one

It does not seem to be an issue related to a specific browser. We can reproduce the problem on Chrome, Edge and Firefox on Windows + Chrome on Android

Details of environment:
  • Joomla up-to-date at 6.1.0 (previously on 6.0.x, same issue)
  • iCagenda 4.0.6 ((previously on 4.0.x, same issue)

We can test changes in a local environment if needed.

Hoping to hear news from you soon,

Roberto
Ultima Modifica 3 giorni 7 Ore fa da robertob. Motivo: Missing details about env

Si prega Accedi o Crea un account a partecipare alla conversazione.

  • Lyr!C
  • Avatar di Lyr!C
  • Administrator
  • Administrator
  • Lead Developer
Di più
2 giorni 12 Ore fa #19047 da Lyr!C
Risposta da Lyr!C al topic [Calendar] Issue with second language
Hello Roberto,

So, it seems current language of the visitor is lost in the Ajax requests. (maybe an issue in the way Joomla is caching language files...)

Here a version of the module where the current lang tag is stored on page first loading, and then pass to the Ajax requests to be able to load the language files in the wanted language.

File allegato:

Nome del file: mod_icagen...ndar.zip
Dimensione del file:33 KB


If you can install it and check if it solves the issue? (i'm curious about the result, as it's a random one...)

Thank you for your help!

Best regards,
Cyril
 

Latest version : iCagenda 4.0.6
We recommend every user to keep iCagenda updated.
Don't forget to have your Joomla!™ up-to-date!

Do you like iCagenda?
I would appreciate if you could take 5 minutes to post a review on JED (Joomla Extensions Directory) .

File allegato:

Allegati:
Ringraziano per il messaggio: robertob

Si prega Accedi o Crea un account a partecipare alla conversazione.

  • robertob
  • Autore della discussione
  • New Member
  • New Member
Di più
1 Giorno 10 Ore fa #19049 da robertob
Risposta da robertob al topic [Calendar] Issue with second language
Hi Cyril,

Thanks for the update.

Navigation now preserves language correctly to render months and days.

Unfortunately, some issues are still present:

1) Click on a day with an event in the current month -> UI has the correct language, but the Italian version is shown, not the English one
2) Starting from the current month, navigate one month forward -> Italian events are shown, not English ones

I can give you more details if needed

Thanks for your time

Roberto

Si prega Accedi o Crea un account a partecipare alla conversazione.

  • Lyr!C
  • Avatar di Lyr!C
  • Administrator
  • Administrator
  • Lead Developer
Di più
1 Giorno 10 Ore fa - 1 Giorno 10 Ore fa #19050 da Lyr!C
Risposta da Lyr!C al topic [Calendar] Issue with second language
Hello Roberto,
I've done a few other changes to fix this weird issue with Ajax and current language.

One pro user had it too on a site where i don't have the issue, and the strange thing is that this user has the issue only on one computer (other computer with same browser and same site does not have it).

On my side, after multiple test, i was able to get this issue only on 1 of 5 test sites where i've tried to reproduce it.

So, mainly issue comes from language cache system of Joomla or something related, and current language can't be get in a Ajax request in some cases (mysterious issue).

Here a new version, full package, as other changes added in iCagenda library to improve the correct detection of the current language by passing the lang to the Ajax data directly. So, many changes here and there.

Could you install this dev version, and check if all is ok, and if any issue left, to give me more details (for example, does events have language set on it/en or on all "*" and what is the settings in the module for the "Routing" options: " Parent List of Events " and " Use Menu Filters " options.)

 

File allegato:

Nome del file: icagenda-4...-dev.zip
Dimensione del file:2,151 KB


Thank you!
Cyril

Latest version : iCagenda 4.0.6
We recommend every user to keep iCagenda updated.
Don't forget to have your Joomla!™ up-to-date!

Do you like iCagenda?
I would appreciate if you could take 5 minutes to post a review on JED (Joomla Extensions Directory) .

File allegato:

Allegati:
Ultima Modifica 1 Giorno 10 Ore fa da Lyr!C.

Si prega Accedi o Crea un account a partecipare alla conversazione.

  • robertob
  • Autore della discussione
  • New Member
  • New Member
Di più
10 Ore 36 Minuti fa #19051 da robertob
Risposta da robertob al topic [Calendar] Issue with second language
Dear Cyril,

Thanks for the fast update. I installed and tested on different browsers and devices, and now everything seems fine

I have asked other users to check whether they still encounter the problem, and I will notify you in case.

Will these changes be included in the next release, so I can update it without any further issues?

Thanks for all the support,

Roberto

Si prega Accedi o Crea un account a partecipare alla conversazione.

Moderatori: Lyr!C
Tempo creazione pagina: 0.052 secondi

Follow Us

Create your Joomla templates with Template Creator CK

acymailing logo new