Menu Content

Support

> Forums, FAQs & Paid Support
Welcome, Guest
Username Password: Remember me

Translation of some words are hard to find...
(1 viewing) (1) Guest
Support forum for users using free edition of Book it!. These forums are for mutual help among users.

NOTE: Due to our capacity limitations, ARTIO does not monitor this forum category regularly. If you want direct support from ARTIO, please start a ticket at Support Dashboard. If you have no support ticket available, you need to purchase it. .
  • Page:
  • 1
  • 2

TOPIC: Translation of some words are hard to find...

Re: Translation of some words are hard to find... 11 years, 11 months ago #35251

  • maju
  • OFFLINE
  • Posts: 1107
1. Ok, Tax maybe needs some modification.

Go to:
administrator/components/com_booking/helpers/booking.php
and on line 2022 should be this row:
return JText::sprintf('Tax %s', (float) $tax);
modify it to:
return JText::sprintf('TAX_WITH_PERCENTS', (float) $tax);
and translation will be:
TAX_WITH_PERCENTS="Tax (%s%%)"

don't forget make new translation for all languages you are using. This translation I have on frontend and it works.

2. Item Price, I have this translation in administrator/languages/{lang}/{lang}.com_booking.common.ini

3. To pmpeixoto: Reservation #, where do you want to translate it? If you mean list of customer reservations, go to:
components/com_booking/views/reservations/tmpl/customer.php - line 72.
There is this row:
<th class="check">Reservation #</th>
You need to modify it to something like:
<th class="check"><?php echo JText::_('Reservation'); ?> #</th>

Then you will need to translate only RESERVATION.
ARTIO Support Team
Last Edit: 11 years, 11 months ago by maju.

Re: Translation of some words are hard to find... 11 years, 11 months ago #35261

maju wrote:

3. To pmpeixoto: Reservation #, where do you want to translate it? If you mean list of customer reservations, go to:
components/com_booking/views/reservations/tmpl/customer.php - line 72.
There is this row:
<th class="check">Reservation #</th>
You need to modify it to something like:
<th class="check"><?php echo JText::_('Reservation'); ?> #</th>

Then you will need to translate only RESERVATION.


Yes, it´s really on customer reservations list. I will change it, and then i give feedback.

Many thanks

Re: Translation of some words are hard to find... 11 years, 11 months ago #35267

:D

It works !!

Meanwhile i´ve changed directly another missing translation ;)

Thanks

Re: Translation of some words are hard to find... 11 years, 11 months ago #35268

pmpeixoto wrote:


RESERVATION PAYMENT AND STATUS="{translation}" **NOT WORKING **



First i´ve tried RESERVATION STATUS AND PAYMENT, and it doesn´t worked also ...
Last Edit: 11 years, 11 months ago by pmpeixoto.

Re: Translation of some words are hard to find... 11 years, 11 months ago #35269

pmpeixoto wrote:
pmpeixoto wrote:


RESERVATION PAYMENT AND STATUS="{translation}" **NOT WORKING **



First i´ve tried RESERVATION STATUS AND PAYMENT, and it doesn´t worked also ...


Changed directly on file ... /components/com_booking/views/reservation/tmpl/default.php

Re: Translation of some words are hard to find... 11 years, 10 months ago #35729

I can't understand why some elements are already possible to translate via INI files, others are missing (but still possible to translate) and some require modifying source code. It looks like unfinished product to me.

However, I'm still happy that I've found this thread. I was able to translate most of the missing elements. Thanks.
  • Page:
  • 1
  • 2
User Login Empty