Main menu

Forum


× Help Forum English

year conversion and translation

  • mm
  • Autore della discussione
  • New Member
  • New Member
Di più
3 Anni 9 Mesi fa #17095 da mm
year conversion and translation è stato creato da 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
Allegati:

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

  • Lyr!C
  • Avatar di Lyr!C
  • Administrator
  • Administrator
  • Lead Developer
Di più
3 Anni 9 Mesi fa #17097 da Lyr!C
Risposta da Lyr!C al topic 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.3
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:

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

  • mm
  • Autore della discussione
  • New Member
  • New Member
Di più
3 Anni 9 Mesi fa #17103 da mm
Risposta da mm al topic year conversion and translation
Hi,

Thanks for the reply. The link does not work.

So what will happen regarding the date formatting?

Cheers,

Zahra

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

  • Lyr!C
  • Avatar di Lyr!C
  • Administrator
  • Administrator
  • Lead Developer
Di più
3 Anni 8 Mesi fa #17105 da Lyr!C
Risposta da Lyr!C al topic 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.3
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:

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

Moderatori: Lyr!C
Tempo creazione pagina: 0.233 secondi

Follow Us

Create your Joomla templates with Template Creator CK

acymailing logo new