<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: qTranslate and multilingual META tags</title>
	<atom:link href="http://blog.johnjcamilleri.com/2010/01/qtranslate-and-multilingual-meta-tags/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.johnjcamilleri.com/2010/01/qtranslate-and-multilingual-meta-tags/</link>
	<description></description>
	<lastBuildDate>Wed, 16 May 2012 15:50:11 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: candy</title>
		<link>http://blog.johnjcamilleri.com/2010/01/qtranslate-and-multilingual-meta-tags/comment-page-2/#comment-2030</link>
		<dc:creator>candy</dc:creator>
		<pubDate>Sat, 05 May 2012 14:15:25 +0000</pubDate>
		<guid isPermaLink="false">http://blog.johnjcamilleri.com/?p=145#comment-2030</guid>
		<description>OK, foundt it :) - bless these guys here:
http://tonykwon.com/2010/07/09/how-to-enable-qtranslate-meta-on-custom-post-types/

So if you need to apply multilingual meta-tags to your custom post-types, add this to your functions.php :

if ( is_admin() &amp;&amp;  function_exists(&quot;qtrans_getSortedLanguages&quot;) ) {
        add_action(&#039;admin_menu&#039;, &#039;enable_qTranslate_Meta&#039;);
}
function enable_qTranslate_Meta()
{
        global $qtransMETA;
 
        $post_types = get_post_types();
        /* post and page types are already processed by the plugin */
        $disabled_types = array( &#039;post&#039;, &#039;page&#039;, &#039;attachment&#039;, &#039;revision&#039;, &#039;nav_menu_item&#039; );
        $enabled_types  = array_diff( $post_types, $disabled_types );
 
        if ( $enabled_types ) {
                foreach( $enabled_types as $enabled_type ) {
                        add_meta_box(
                                &#039;qtrans_meta_meta_box&#039;, //HTML id
                                __(&#039;Multilingual META&#039;, &#039;qtranslate-meta&#039;), //title
                                array(&amp;$qtransMETA, &#039;meta_box_generate&#039;), //callback
                                $enabled_type, //type
                                &#039;normal&#039;, //context - normal, advanced, side
                                &#039;high&#039; //priority - high, low
                        );
                }
        }
}

Good luck :)</description>
		<content:encoded><![CDATA[<p>OK, foundt it <img src='http://blog.johnjcamilleri.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  &#8211; bless these guys here:<br />
<a href="http://tonykwon.com/2010/07/09/how-to-enable-qtranslate-meta-on-custom-post-types/" rel="nofollow">http://tonykwon.com/2010/07/09/how-to-enable-qtranslate-meta-on-custom-post-types/</a></p>
<p>So if you need to apply multilingual meta-tags to your custom post-types, add this to your functions.php :</p>
<p>if ( is_admin() &amp;&amp;  function_exists(&#8220;qtrans_getSortedLanguages&#8221;) ) {<br />
        add_action(&#8216;admin_menu&#8217;, &#8216;enable_qTranslate_Meta&#8217;);<br />
}<br />
function enable_qTranslate_Meta()<br />
{<br />
        global $qtransMETA;</p>
<p>        $post_types = get_post_types();<br />
        /* post and page types are already processed by the plugin */<br />
        $disabled_types = array( &#8216;post&#8217;, &#8216;page&#8217;, &#8216;attachment&#8217;, &#8216;revision&#8217;, &#8216;nav_menu_item&#8217; );<br />
        $enabled_types  = array_diff( $post_types, $disabled_types );</p>
<p>        if ( $enabled_types ) {<br />
                foreach( $enabled_types as $enabled_type ) {<br />
                        add_meta_box(<br />
                                &#8216;qtrans_meta_meta_box&#8217;, //HTML id<br />
                                __(&#8216;Multilingual META&#8217;, &#8216;qtranslate-meta&#8217;), //title<br />
                                array(&amp;$qtransMETA, &#8216;meta_box_generate&#8217;), //callback<br />
                                $enabled_type, //type<br />
                                &#8216;normal&#8217;, //context &#8211; normal, advanced, side<br />
                                &#8216;high&#8217; //priority &#8211; high, low<br />
                        );<br />
                }<br />
        }<br />
}</p>
<p>Good luck <img src='http://blog.johnjcamilleri.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: candy</title>
		<link>http://blog.johnjcamilleri.com/2010/01/qtranslate-and-multilingual-meta-tags/comment-page-2/#comment-2029</link>
		<dc:creator>candy</dc:creator>
		<pubDate>Sat, 05 May 2012 14:06:13 +0000</pubDate>
		<guid isPermaLink="false">http://blog.johnjcamilleri.com/?p=145#comment-2029</guid>
		<description>Hi,
Is it possible to please tell us which code to hook in the functions.php or wherever in order to make this work with custom post types &amp; taxonomies?
The tragedy is that qtranslate itself supports them out of the box, your plugin unfortunatelly NOT! (and as you see, the issues comes up again &amp; in the above comments).
Telling us we should investigate it ourselves is cute, but unfortunatelly useless :-(
If we were programmers, guess we wouldn&#039;t have needed a plugin in 1st place, so your feedback, as developer of this plugin is crucial.

Thanks!</description>
		<content:encoded><![CDATA[<p>Hi,<br />
Is it possible to please tell us which code to hook in the functions.php or wherever in order to make this work with custom post types &amp; taxonomies?<br />
The tragedy is that qtranslate itself supports them out of the box, your plugin unfortunatelly NOT! (and as you see, the issues comes up again &amp; in the above comments).<br />
Telling us we should investigate it ourselves is cute, but unfortunatelly useless <img src='http://blog.johnjcamilleri.com/wp-includes/images/smilies/icon_sad.gif' alt=':-(' class='wp-smiley' /><br />
If we were programmers, guess we wouldn&#8217;t have needed a plugin in 1st place, so your feedback, as developer of this plugin is crucial.</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Olaf</title>
		<link>http://blog.johnjcamilleri.com/2010/01/qtranslate-and-multilingual-meta-tags/comment-page-2/#comment-1864</link>
		<dc:creator>Olaf</dc:creator>
		<pubDate>Tue, 06 Mar 2012 09:38:43 +0000</pubDate>
		<guid isPermaLink="false">http://blog.johnjcamilleri.com/?p=145#comment-1864</guid>
		<description>Hi John,
just installed your plugin and have the following problem, using
Theme Twenty Ten 1.2
qtranslate 2.5.24
qtranslate META 0.9.1

The title does not change with the language and I don&#039;t know how to do this.
I had installed before All in one SEO, but deactivated it, before installing qtranslate META.

I read the whole thread, but couldn&#039;t find anything. As well I changed the line 29 into wp_title,
but still get the same result, the title only changes from ...../blog/title to ...../blog/es/title or .....blog/de/title,
but not changing the title by itself.

As I am new to this whole internet marketing stuff, maybe this is a stupid question, but even though would apreciate some info.
Oh yes, site is set to begin with static page and I see a permalink(but if I change this permalink i can&#039;t see anything)

Thanks in advance

Olaf</description>
		<content:encoded><![CDATA[<p>Hi John,<br />
just installed your plugin and have the following problem, using<br />
Theme Twenty Ten 1.2<br />
qtranslate 2.5.24<br />
qtranslate META 0.9.1</p>
<p>The title does not change with the language and I don&#8217;t know how to do this.<br />
I had installed before All in one SEO, but deactivated it, before installing qtranslate META.</p>
<p>I read the whole thread, but couldn&#8217;t find anything. As well I changed the line 29 into wp_title,<br />
but still get the same result, the title only changes from &#8230;../blog/title to &#8230;../blog/es/title or &#8230;..blog/de/title,<br />
but not changing the title by itself.</p>
<p>As I am new to this whole internet marketing stuff, maybe this is a stupid question, but even though would apreciate some info.<br />
Oh yes, site is set to begin with static page and I see a permalink(but if I change this permalink i can&#8217;t see anything)</p>
<p>Thanks in advance</p>
<p>Olaf</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John</title>
		<link>http://blog.johnjcamilleri.com/2010/01/qtranslate-and-multilingual-meta-tags/comment-page-2/#comment-1855</link>
		<dc:creator>John</dc:creator>
		<pubDate>Mon, 13 Feb 2012 08:08:24 +0000</pubDate>
		<guid isPermaLink="false">http://blog.johnjcamilleri.com/?p=145#comment-1855</guid>
		<description>Hi Helga,
You will likely need to edit some PHP in your template to get that working. It might be as simple as passing your comment text through the &lt;code&gt;_ẹ()&lt;/code&gt; function, or you might need something more manual like this:

&lt;code&gt;if (!function_exists(&#039;qtrans_getLanguage&#039;)) {
    $lang = qtrans_getLanguage();
    $translations = qtrans_split( $comment );
    echo $translations[$lang];
}&lt;/code&gt;

I guess this should be implemented as a filter on the comments, e.g. using the &lt;code&gt;comment_text&lt;/code&gt; filter hook. You can find the documentation for the qTranslate functions &lt;a href=&quot;http://www.qianqin.de/qtranslate/forum/viewtopic.php?f=3&amp;t=9&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt;.
Hope that helps!</description>
		<content:encoded><![CDATA[<p>Hi Helga,<br />
You will likely need to edit some PHP in your template to get that working. It might be as simple as passing your comment text through the <code>_ẹ()</code> function, or you might need something more manual like this:</p>
<p><code>if (!function_exists('qtrans_getLanguage')) {<br />
    $lang = qtrans_getLanguage();<br />
    $translations = qtrans_split( $comment );<br />
    echo $translations[$lang];<br />
}</code></p>
<p>I guess this should be implemented as a filter on the comments, e.g. using the <code>comment_text</code> filter hook. You can find the documentation for the qTranslate functions <a href="http://www.qianqin.de/qtranslate/forum/viewtopic.php?f=3&#038;t=9" rel="nofollow">here</a>.<br />
Hope that helps!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Helga</title>
		<link>http://blog.johnjcamilleri.com/2010/01/qtranslate-and-multilingual-meta-tags/comment-page-2/#comment-1852</link>
		<dc:creator>Helga</dc:creator>
		<pubDate>Sat, 11 Feb 2012 00:55:53 +0000</pubDate>
		<guid isPermaLink="false">http://blog.johnjcamilleri.com/?p=145#comment-1852</guid>
		<description>Hello,
Also I use WordPress with qTranslate and I think this plugin it is awesome.
I need to find how to enable the qTranslate QuickTags as:
&lt;code&gt;[:en]John[:es]Juan&lt;/code&gt; or also &lt;code&gt;&lt;!--:en--&gt;John&lt;!--:--&gt;&lt;!--:es--&gt;Juan&lt;!--:--&gt;&lt;/code&gt;
in my Comments area. Does anyone know how to do this?
I can&#039;t figure out why they don&#039;t work. Probably need some extra code in my templates files (Magazine-Basic). I thought that these QuickTags were good to get separate comments for each language, and I don&#039;t understand why they are not able to do it. I tried to put the QuickTag in my comments area, above the content but they didn&#039;t work.
Please can someone help me figure out how to enable this for each comment?</description>
		<content:encoded><![CDATA[<p>Hello,<br />
Also I use WordPress with qTranslate and I think this plugin it is awesome.<br />
I need to find how to enable the qTranslate QuickTags as:<br />
<code>[:en]John[:es]Juan</code> or also <code>&lt;!--:en--&gt;John&lt;!--:--&gt;&lt;!--:es--&gt;Juan&lt;!--:--&gt;</code><br />
in my Comments area. Does anyone know how to do this?<br />
I can&#8217;t figure out why they don&#8217;t work. Probably need some extra code in my templates files (Magazine-Basic). I thought that these QuickTags were good to get separate comments for each language, and I don&#8217;t understand why they are not able to do it. I tried to put the QuickTag in my comments area, above the content but they didn&#8217;t work.<br />
Please can someone help me figure out how to enable this for each comment?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: herbertwest</title>
		<link>http://blog.johnjcamilleri.com/2010/01/qtranslate-and-multilingual-meta-tags/comment-page-2/#comment-1633</link>
		<dc:creator>herbertwest</dc:creator>
		<pubDate>Mon, 09 Jan 2012 11:34:06 +0000</pubDate>
		<guid isPermaLink="false">http://blog.johnjcamilleri.com/?p=145#comment-1633</guid>
		<description>Yes! I now have a title on the homepage, which is quite important ! Thanks a lot!

Regarding the porfolio, it must have been added by the theme that i am using : perfekto
i&#039;ll to find a way. Thanks again !</description>
		<content:encoded><![CDATA[<p>Yes! I now have a title on the homepage, which is quite important ! Thanks a lot!</p>
<p>Regarding the porfolio, it must have been added by the theme that i am using : perfekto<br />
i&#8217;ll to find a way. Thanks again !</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John</title>
		<link>http://blog.johnjcamilleri.com/2010/01/qtranslate-and-multilingual-meta-tags/comment-page-2/#comment-1631</link>
		<dc:creator>John</dc:creator>
		<pubDate>Mon, 09 Jan 2012 10:43:13 +0000</pubDate>
		<guid isPermaLink="false">http://blog.johnjcamilleri.com/?p=145#comment-1631</guid>
		<description>Those post types must be provided by some Wordpress theme or plugin; they are not part of &quot;standard&quot; Wordpress. The plugin isn&#039;t very complicated and could probably be easily extended to include these post types, however you will have to investigate this yourself.</description>
		<content:encoded><![CDATA[<p>Those post types must be provided by some WordPress theme or plugin; they are not part of &#8220;standard&#8221; WordPress. The plugin isn&#8217;t very complicated and could probably be easily extended to include these post types, however you will have to investigate this yourself.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: herbertwest</title>
		<link>http://blog.johnjcamilleri.com/2010/01/qtranslate-and-multilingual-meta-tags/comment-page-2/#comment-1630</link>
		<dc:creator>herbertwest</dc:creator>
		<pubDate>Mon, 09 Jan 2012 10:35:01 +0000</pubDate>
		<guid isPermaLink="false">http://blog.johnjcamilleri.com/?p=145#comment-1630</guid>
		<description>Hi John, thanks a lot for your quick feedback! I will try this within an hour or two.

Regarding the portfolio that i am talking about, it&#039;s in wordpress. I can add POSTS, SLIDER, PORTFOLIOS, TESTIMONIAL, LINKS, PAGES.
On the website i am currently working on, i am mostly using : PAGES + PORTFOLIOS.. and i cant customise the titles of Portfolios? (there are no title box)

See the pictures below (imageshack):
http://imageshack.us/photo/my-images/861/portfolios.jpg/
http://imageshack.us/photo/my-images/684/portfolios2.jpg/</description>
		<content:encoded><![CDATA[<p>Hi John, thanks a lot for your quick feedback! I will try this within an hour or two.</p>
<p>Regarding the portfolio that i am talking about, it&#8217;s in wordpress. I can add POSTS, SLIDER, PORTFOLIOS, TESTIMONIAL, LINKS, PAGES.<br />
On the website i am currently working on, i am mostly using : PAGES + PORTFOLIOS.. and i cant customise the titles of Portfolios? (there are no title box)</p>
<p>See the pictures below (imageshack):<br />
<a href="http://imageshack.us/photo/my-images/861/portfolios.jpg/" rel="nofollow">http://imageshack.us/photo/my-images/861/portfolios.jpg/</a><br />
<a href="http://imageshack.us/photo/my-images/684/portfolios2.jpg/" rel="nofollow">http://imageshack.us/photo/my-images/684/portfolios2.jpg/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John</title>
		<link>http://blog.johnjcamilleri.com/2010/01/qtranslate-and-multilingual-meta-tags/comment-page-2/#comment-1606</link>
		<dc:creator>John</dc:creator>
		<pubDate>Sat, 07 Jan 2012 18:44:23 +0000</pubDate>
		<guid isPermaLink="false">http://blog.johnjcamilleri.com/?p=145#comment-1606</guid>
		<description>Hi Herbert,
&lt;ol&gt;
	&lt;li&gt;Have you tried changing the title hook used from &lt;code&gt;single_post_title&lt;/code&gt; to &lt;code&gt;wp_title&lt;/code&gt; (in &lt;code&gt;qtranslate-meta.php&lt;/code&gt;, line 29)&lt;/li&gt;
	&lt;li&gt;I don&#039;t know what &quot;Portfolios&quot; you are referring to...&lt;/li&gt;
&lt;/ol&gt;
John</description>
		<content:encoded><![CDATA[<p>Hi Herbert,</p>
<ol>
<li>Have you tried changing the title hook used from <code>single_post_title</code> to <code>wp_title</code> (in <code>qtranslate-meta.php</code>, line 29)</li>
<li>I don&#8217;t know what &#8220;Portfolios&#8221; you are referring to&#8230;</li>
</ol>
<p>John</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: herbertwest</title>
		<link>http://blog.johnjcamilleri.com/2010/01/qtranslate-and-multilingual-meta-tags/comment-page-2/#comment-1605</link>
		<dc:creator>herbertwest</dc:creator>
		<pubDate>Sat, 07 Jan 2012 18:28:12 +0000</pubDate>
		<guid isPermaLink="false">http://blog.johnjcamilleri.com/?p=145#comment-1605</guid>
		<description>Hello,

your plugin is brilliant, but i still have 2 problems :
- the most important one, is that i did set a &quot;static&quot; homepage, but even this way there are NO titles or meta description on my homepage. It is very important so... how may i fix this?
- the other problem is that there are no field to customize title/ meta descriptions in Porfolios.. which i am using.

Any way to change that? The homepage being extremely important.. and i dont want to put it in the &quot;settings&quot; which makes that it will be available on all the pages!

Thanks a lot for that plugin!</description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>your plugin is brilliant, but i still have 2 problems :<br />
- the most important one, is that i did set a &#8220;static&#8221; homepage, but even this way there are NO titles or meta description on my homepage. It is very important so&#8230; how may i fix this?<br />
- the other problem is that there are no field to customize title/ meta descriptions in Porfolios.. which i am using.</p>
<p>Any way to change that? The homepage being extremely important.. and i dont want to put it in the &#8220;settings&#8221; which makes that it will be available on all the pages!</p>
<p>Thanks a lot for that plugin!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->
