Translation Syntax
-
Hi Everybody
I’m trying to add few line of code so my translation will be ok on the WP site.
I don’t know how to deal with a certain string of code. In fact, I want to add a __(‘blabla words’, ‘textdomain’). into
echo '<a href="'.get_permalink().'">more</a>';
but thing like
echo '<a href="'.get_permalink().'">__('blabla words', 'textdomain')</a>';
donnot workCan you help me to find the good way to code it ?
Thanks very much !!
- The topic ‘Translation Syntax’ is closed to new replies.