<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>Snipplr</title>
    <description>Recent snippets posted on Snipplr.com</description>
    <link>https://snipplr.com/</link>
    <lastBuildDate>Wed, 10 Jun 2026 03:22:24 +0000</lastBuildDate>
    <item>
      <title>(PHP) Get Joomla language locale for use with Facebook js/fbml etc. on multilingual sites - burconsult</title>
      <link>https://snipplr.com/view/58741/get-joomla-language-locale-for-use-with-facebook-jsfbml-etc-on-multilingual-sites</link>
      <description>&lt;p&gt;You can use this in Joomla extensions where you need to get the current language locale for example to use with Facebook Connect/Like plugins etc. in the "en_US" format. With facebooj JS, all you have to do is replace the default locale with the resulting variable something like this:&#13;
&#13;
 e.src = document.location.protocol +'//connect.facebook.net/&lt;?=$locale?&gt;/all.js';&lt;/p&gt;</description>
      <pubDate>Fri, 16 Sep 2011 18:49:51 UTC</pubDate>
      <guid>https://snipplr.com/view/58741/get-joomla-language-locale-for-use-with-facebook-jsfbml-etc-on-multilingual-sites</guid>
    </item>
  </channel>
</rss>
