Posted: November 26, 2013 at 10:15 am
Hi | |
Unfortunately, it is hard coded, and is actually tested against in some conditionals, so simply changing it might have unexpected results. Which pages are you seeing it on where you need it translated? The easiest thing is going to be to test for it before it is echoed to the screen, and change it there. | |
Thanks for your answer. | |
Hi, You could modify the the event_list_display.php. Wehere it says: <?php echo get_number_of_attendees_reg_limit($event_id, 'available_spaces') ?> replace it with <?php $x = get_number_of_attendees_reg_limit($event_id, 'available_spaces'); if($x == "Unlimited") { echo "unbegrenzt"; } else { echo $x; } ?> Obviously replace unbegrenzt with the translation of the word Unlimited. You may also need to replace this <?php echo get_number_of_attendees_reg_limit($event_id, 'available_spaces', 'All Seats Reserved') ?> | |
Thanks Dean but it doesn’t work. I have Unlimited again. And i have to replace | |
Hi, The one you need to replace is very similar <?php $x = get_number_of_attendees_reg_limit($event_id, 'available_spaces', 'All Seats Reserved'); if($x == "Unlimited") { echo "unbegrenzt"; } else { echo $x; } ?> Have you copied the event_list_display.php and the event_list.php files to the uplaods/espresso/templates directory and edited them there? | |
Ooops i was not in uploads/espresso… Sorry. it works fine !!! Multi Thanks =) | |
The support post ‘translate 'Unlimited"’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.