Main menu

Forum


× Help Forum English

year conversion and translation

  • mm
  • Topic Author
  • New Member
  • New Member
More
4 years 4 months ago #17095 by 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
Attachments:

Please Log in or Create an account to join the conversation.

  • Lyr!C
  • Lyr!C's Avatar
  • Administrator
  • Administrator
  • Lead Developer
More
4 years 4 months ago #17097 by Lyr!C
Replied by Lyr!C on 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.7
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 Attachment:

Please Log in or Create an account to join the conversation.

  • mm
  • Topic Author
  • New Member
  • New Member
More
4 years 4 months ago #17103 by mm
Replied by mm on 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

Please Log in or Create an account to join the conversation.

  • Lyr!C
  • Lyr!C's Avatar
  • Administrator
  • Administrator
  • Lead Developer
More
4 years 4 months ago #17105 by Lyr!C
Replied by Lyr!C on 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.7
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 Attachment:

Please Log in or Create an account to join the conversation.

Moderators: Lyr!C
Time to create page: 0.166 seconds

 

Follow Us

Create your Joomla templates with Template Creator CK

acymailing logo new