• Hi,

    I’m trying to translate the term “category” from the template single.php but I can’t.

    I have <?php tribe_meta_event_cats(); ?> and I imagine here is where I should translate it for “Categoría” but I have tried to print `<?php _e(‘Categoría:’, ‘tribe_meta_event_cats’); ?> and the problem is with <?php tribe_meta_event_cats(); ?> is already print “Category”.

    Thanks

    http://wordpress.org/extend/plugins/the-events-calendar/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Ivan_hi

    (@ivan_hi)

    I’m working about this and I have managed to translate it in the next way:

    In the folder public/template-tags/general.php I have wrote Categoría insted of Category.

    I tried to upload the file general.php in the folder of the subtheme, where are located other files of the plugin but it doesn’t work.

    So I modify it in the original folder.

    Do you know where I should upload it in order to update the plugin without lose the changes?

    I hope it would be usefull for another one.

    Try using the following.

    sanitize_title(__( 'category', 'tribe-events-calendar' ))

    It should provide the proper Translation of ‘category’.

    Thanks, as usual, Andy!

    Ivan_hi: that help? Do you need anything else here, or can I mark this RESOLVED? If you’ve got lingering questions, lay ’em on me.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Translate "category"’ is closed to new replies.