Hi rick, rick wrote: > > One difficulty I have is with html tags. I never know what to do with > them. I see that you put the ones for the group name in the parameter > string for sprintf() ...
I put the html tags in the parameter string because, you or another developer somewhere wrote, that you do not want to have tags in the localizable strings. > and left out the tags for the group member count, ... too fast writing ;-) ... I ignored the tags for the member count by accident. > but what if they're in the actual string to be translated, like so: > > <p><?php echo sprintf( _e( 'Group <strong>%s</strong> has <strong>%d</ > strong>member.', Group <strong>%s</strong> has <strong>%d</ > strong>members.', count( $members ) ), $group->name ); ?></p> > > Do the translators ignore the html tags? Do they make the task more > difficult? Sometimes I put extra tags in my translations to hihglight certain information. If there are tags in localizable strings, this would be ok for me! But I can not speak for other translators. cu, guido --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/habari-dev -~----------~----~----~----~------~----~------~--~---
