Very often i see people that don’t really bother about translation when they work on a WordPress project (theme or plugin), and it’s really annoying when you want to use the code with another language. And what happen is that when people deal with internationalization, they don’t do it that well… So this little tip is just to remind you that when you need to translate strings that contain variable elements, there’s a way to it simply, just have a look at the code above:
Leave a Reply
You must be logged in to post a comment.