$post['message'] = JText::_($message);I understand you're considering to adopt my suggestions. Any ideias when we will have a release with that ability included?alzander wrote: Definitely like that suggestion. Your code for how to do it is correct. The nice thing about JText is that if the string isn't found in a language file, it will use the direct string that's passed in. That will help for users that use a 'normal' message, which will be good for backward compatibility.
alzander wrote: Finally, for the Open Graph tags, you don't want those translated. Facebook will fetch the tags from your site periodically. They aren't read uniquely for each user at the time of a comment or Like click, but by Facebook itself when it needs those values. Therefore, setting them to different language strings on the same page will confuse Facebook and cause you more problems than you're looking for.
Join our newsletter to get alerts for Joomla releases, tips and tricks and extension updates.
