How to translate using the_terms()
-
Hi,
I’m trying to internationalize a template file for a custom post type with taxonomies.
I’m using;
the_terms( $post->ID, 'concert_scenes', '<div style="padding-bottom: 3px"><b>Spelas på:</b> ', ', ', '</div>' );?>
to echo out the taxomomy.But I fail to understand how to translate this. I guess I need to use placeholders and printf() but how do I do this?
I’ve been at this for quite some time now, googling, reading the i18n part of “Pro WP plugin development” and trying to search here at WP, but I can’t find a working solution… Anyone that has a clue?
Regards /Joje
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘How to translate using the_terms()’ is closed to new replies.