fbpx

Astroid 2.4 Landed with Joomla 4 Compatibility Download Now

Welcome, Guest
Username: Password: Remember me

TOPIC: (SOLVED) JD Builder "Read more..." translation

JD Builder "Read more..." translation 7 months 2 weeks ago #20183

  • vsdmub
  • vsdmub's Avatar
  • Offline
  • Senior Member
  • Posts: 72
  • Karma: 0
Hello, Using Astroid Quick installation, there is a section in Home page called "Latest News" what works with a Joomla module that use the same name. I installed a new language and make the site fully multilanguage. I created a new module in spanish for "Latest News" and setted it as spanish. I made the same with a new page in JD Builder. But when I select Spanish using the Language Switcher, the buttons "Read more..." remains in English. Please, how can I fix this issue?

Update: I found that the problem is in the next file of Astroid:
\templates\astroid_template_zero\html\mod_articles_latest\builder.php
Line 37
May be it's a bug. How can I edit it to using it in a multilanguage site? Thank you for your time and help.
Last Edit: 7 months 2 weeks ago by vsdmub.
The topic has been locked.

JD Builder "Read more..." translation 7 months 2 weeks ago #20188

  • chandandeep
  • chandandeep's Avatar
  • Offline
  • Administrator
  • Posts: 3770
  • Thank you received: 576
  • Karma: 98
Hello,

Thanks for reporting. Please follow the steps in order to fix this.

1. Replace the builder.php file code with gist.
2. Add the following code in en-GB.tpl_astroid_template_zero.ini file.
Path: siteroot/language/en-GB

ASTROID_READ_MORE="Read More"

3. Last Step. You have to create a language constants override for Spanish language. I have shared the Language Constant.
Language Overrides in Joomla Documentation

Language constant is "ASTROID_READ_MORE"

Thanks,
Chandan
Thank You,
If you like our support and products, tweet us at joomdev and let the world know about it.

To know more about products check out the their documentation.
The topic has been locked.

JD Builder "Read more..." translation 7 months 2 weeks ago #20192

  • vsdmub
  • vsdmub's Avatar
  • Offline
  • Senior Member
  • Posts: 72
  • Karma: 0
It works perfectly. Thank you, very much! I appreciated it.

Please don´t forget to add the space and three dots in the next release of Astroid in the file en-GB.tpl_astroid_template_zero.ini:
ASTROID_READ_MORE="Read More …"

Thank you!
Last Edit: 7 months 2 weeks ago by vsdmub.
The topic has been locked.

JD Builder "Read more..." translation 7 months 2 weeks ago #20204

  • chandandeep
  • chandandeep's Avatar
  • Offline
  • Administrator
  • Posts: 3770
  • Thank you received: 576
  • Karma: 98
Sure,

Topic Solved.
Thank You,
If you like our support and products, tweet us at joomdev and let the world know about it.

To know more about products check out the their documentation.
The topic has been locked.

JD Builder "Read more..." translation 7 months 2 weeks ago #20205

  • chandandeep
  • chandandeep's Avatar
  • Offline
  • Administrator
  • Posts: 3770
  • Thank you received: 576
  • Karma: 98
If you need three dots. Please create Language Overrides for English Also.
Thank You,
If you like our support and products, tweet us at joomdev and let the world know about it.

To know more about products check out the their documentation.
The topic has been locked.
Moderators: chandandeep
Time to create page: 0.297 seconds