Main menu

Forum


× Help Forum English

year conversion and translation

  • mm
  • Auteur du sujet
  • Nouveau membre
  • Nouveau membre
Plus d'informations
il y a 3 ans 8 mois #17095 par mm
year conversion and translation a été créé par mm
Hi,

I have a bilingual site. On the English side, the event list shows 2020, buton the farsi side, it is displaying the persian year: 1399. How can I make it appear as 2020 for both languages?

Also, the titles on the farsi side appear in English, how can the language be changed?

Thanks!

ZM
Pièces jointes :

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 ans 8 mois #17097 par Lyr!C
Réponse de Lyr!C sur le sujet year conversion and translation
Hello,

For language strings not translated in Farsi, you can join the Persian translation team on Transifex: www.transifex.com/joomlic/icagenda/language/fa_IR/
After creating your free account, ask to join the Persian team. I will add you when i will have the notification.

You could then start first to translate missing strings in com_icagenda site used for frontend.

About the date displayed using Persian date format, it is using Joomla site language... so i wonder if i can add there an option to switch date formatting off...

Regards,
Cyril

Latest version : iCagenda 3.9.2
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é :

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

  • mm
  • Auteur du sujet
  • Nouveau membre
  • Nouveau membre
Plus d'informations
il y a 3 ans 8 mois #17103 par mm
Réponse de mm sur le sujet year conversion and translation
Hi,

Thanks for the reply. The link does not work.

So what will happen regarding the date formatting?

Cheers,

Zahra

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 ans 8 mois #17105 par Lyr!C
Réponse de Lyr!C sur le sujet year conversion and translation
Hello,

For the link, so maybe not visible when not logged-in.
General home page: www.transifex.com/joomlic

For date formatting, it is set by Joomla (not iCagenda) from your Persian language pack, in file : ROOT/language/fa-IR/fa-IR.localise.php

There, you will see the function that extends Joomla function JDate
Remove all the lines for : class fa_IRDate extends JDate {
(from line 48 to 223 in the version of Persian pack i've got).

Best regards,
Cyril

Latest version : iCagenda 3.9.2
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é :

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

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

 

Follow Us

acymailing logo new

Créez vos templates Joomla avec Template Creator CK