Main menu

Forum


× Help Forum English

[Calendar] Issue with second language

  • robertob
  • Auteur du sujet
  • Nouveau membre
  • Nouveau membre
Plus d'informations
il y a 6 jours 11 heures #19043 par robertob
[Calendar] Issue with second language a été créé par 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.

Connexion ou Créer un compte pour participer à la conversation.

  • Lyr!C
  • Portrait de Lyr!C
  • Administrateur
  • Administrateur
  • Lead Developer
Plus d'informations
il y a 3 jours 10 heures #19044 par Lyr!C
Réponse de Lyr!C sur le sujet [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) .

Fichier attaché :

Les utilisateur(s) suivant ont remercié: robertob

Connexion ou Créer un compte pour participer à la conversation.

  • robertob
  • Auteur du sujet
  • Nouveau membre
  • Nouveau membre
Plus d'informations
il y a 3 jours 6 heures - il y a 3 jours 6 heures #19046 par robertob
Réponse de robertob sur le sujet [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
Dernière édition: il y a 3 jours 6 heures par robertob. Raison: Missing details about env

Connexion ou Créer un compte pour participer à la conversation.

  • Lyr!C
  • Portrait de Lyr!C
  • Administrateur
  • Administrateur
  • Lead Developer
Plus d'informations
il y a 2 jours 10 heures #19047 par Lyr!C
Réponse de Lyr!C sur le sujet [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.

Fichier attaché :

Nom du fichier : mod_icagen...ndar.zip
Taille du ficher :33 ko


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) .

Fichier attaché :

Pièces jointes :
Les utilisateur(s) suivant ont remercié: robertob

Connexion ou Créer un compte pour participer à la conversation.

  • robertob
  • Auteur du sujet
  • Nouveau membre
  • Nouveau membre
Plus d'informations
il y a 1 jour 9 heures #19049 par robertob
Réponse de robertob sur le sujet [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

Connexion ou Créer un compte pour participer à la conversation.

  • Lyr!C
  • Portrait de Lyr!C
  • Administrateur
  • Administrateur
  • Lead Developer
Plus d'informations
il y a 1 jour 8 heures - il y a 1 jour 8 heures #19050 par Lyr!C
Réponse de Lyr!C sur le sujet [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.)

 

Fichier attaché :

Nom du fichier : icagenda-4...-dev.zip
Taille du ficher :2,151 ko


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) .

Fichier attaché :

Pièces jointes :
Dernière édition: il y a 1 jour 8 heures par Lyr!C.

Connexion ou Créer un compte pour participer à la conversation.

  • robertob
  • Auteur du sujet
  • Nouveau membre
  • Nouveau membre
Plus d'informations
il y a 9 heures 12 minutes #19051 par robertob
Réponse de robertob sur le sujet [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

Connexion ou Créer un compte pour participer à la conversation.

Modérateurs: Lyr!C
Temps de génération de la page : 0.066 secondes

Follow Us

Créez vos templates Joomla avec Template Creator CK

acymailing logo new