Translation Field Missing?

More
12 years 8 months ago #19096 by bkmjd
Translation Field Missing? was created by bkmjd
Hi,

Did a forum search, but did not find the needed information.

On the group registration confirmation screen, under billing information, there is a field title called - Number registrants.

It appears this field is not modifiable through editing EB_NUMBER_REGISTRANTS.

Suggestions for a fix?

Thanks in advance for the help.

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

More
12 years 8 months ago #19097 by asdasd
Replied by asdasd on topic Re: Translation Field Missing?
Hi

Try to enter it manually in your language file /language/en-GB/en-GB.com_eventbooking
and enter it like EB_NUMBER_REGISTRANTS=your text here

if it doesn't work here try to put it in the global language file, in the same path /language/en-GB/en-GB

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

More
12 years 8 months ago #19098 by bkmjd
Replied by bkmjd on topic Re: Translation Field Missing?
I understand your instructions, but since the key EB_NUMBER_REGISTRANTS already exists, the field title in question must have another name. Will explore the language file, and my bet is the field is present but the name is different.

Thanks for the suggestion.

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

More
12 years 8 months ago #19099 by bkmjd
Replied by bkmjd on topic Re: Translation Field Missing?
Field is not present. Lost the bet. Would look in the extension directories/files next, but not sure what the field name could be.

Any suggestion appreciated.

Thanks

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

More
12 years 8 months ago #19108 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Translation Field Missing?
Hi

The code for that text is located at components/com_eventbooking/views/register/tmpl/group.php. The code for that text in the file is :
Code:
<?php echo JText::_('EB_NUMBER_REGISTRANTS') ?><span class="required">*</span>

As you can see, it is a language string and can be edit via language file for sure. Or you can simply go to Events Booking -> Translation, find the text and edit it.

Regards,

Tuan

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

More
12 years 8 months ago #19128 by bkmjd
Replied by bkmjd on topic Re: Translation Field Missing?
Hi,

You are right, and it looks like that language string should change the title on the group billing view, but editing the key or language file itself makes no change to that group.php view.

Edits are displaying correctly in the primary event default.php view though.

Possible suggestions?

Thanks again.

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

More
12 years 8 months ago #19149 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Translation Field Missing?
Hi

In this case, It would be easier if you submit a support ticket sending me administrator and FTP account of your site so that I can check it for you.

Regards,

Tuan

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

More
12 years 8 months ago #19200 by bkmjd
Replied by bkmjd on topic Re: Translation Field Missing?
Ok,

With a little more research I found the problem.

I was mistaken with the view I stated was correctly showing the field. The view you indicated was the view that was showing correctly.

The incorrectly showing view has the title hard coded in the file that is why the value won't change.

With a little code edit all should be good.

Thanks

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

More
12 years 8 months ago #19207 by bkmjd
Replied by bkmjd on topic Re: Translation Field Missing?
Also, the site .ini file has two language strings of EB_NUMBER_REGISTRANTS. Assuming there should only be one.

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

More
12 years 3 months ago #24861 by Cynthia
Replied by Cynthia on topic Re: Translation Field Missing?
I have the same issue here: the field 'Number registrants' is not translated on group registration confirmation page.
Try it on www.praktijkgentiana.nl/index.php/nl/yoga2 (site in development)

How did you solve it?

Attachments:

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

Moderators: Tuan Pham Ngoc