translating the comments_popup_link with gengo
-
I’m trying to do something that I thought would be easy. As always, it isn’t.
I want the word ‘comments’ in the comments_popup_link below the posts to show in the selected language in my multilingual site.
I’m using the plugin gengo and wordpress 2.2.2<?php gengo_snippet(‘comments’); ?> shows the word ‘comments’ in the selected language.
I put this in the comments_popup_link on the main-index page, but it doesn’t work.
I tried to separate the code by using ‘$something’.
My latest try looks like this:<p class=”postmetadata”>
<?php
$something=comments_number(‘0 ‘,’1 ‘,’% ‘) . gengo_snippet(‘comments’);
comments_popup_link($something,$something,$something,”,’comments off’)
?></p>
It looks quite alright but it doesn’t put out the link.
I’m sure this is due to my limited understanding of php.
If anyone could give me a hint?It was fun for the first 12 hours, but I’m getting tired… ??
- The topic ‘translating the comments_popup_link with gengo’ is closed to new replies.