<?xml version="1.0" encoding="UTF-8"?> <rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" 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/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" ><channel><title>Oncleben31.cc [en] &#187; plugin</title> <atom:link href="http://oncleben31.cc/en/tag/plugin/feed/" rel="self" type="application/rss+xml" /><link>http://oncleben31.cc/en</link> <description>My contributions to Open Source and others projects.</description> <lastBuildDate>Sun, 22 Jan 2012 14:46:03 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" /> <item><title>How to set a bilingual or multilingual WordPress multisite blog</title><link>http://oncleben31.cc/en/how-to-bilingual-multilingual-wordpress-multisite-blog/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-bilingual-multilingual-wordpress-multisite-blog</link> <comments>http://oncleben31.cc/en/how-to-bilingual-multilingual-wordpress-multisite-blog/#comments</comments> <pubDate>Sun, 04 Dec 2011 17:10:52 +0000</pubDate> <dc:creator>Oncleben31</dc:creator> <category><![CDATA[WordPress]]></category> <category><![CDATA[bilingual]]></category> <category><![CDATA[multilingual]]></category> <category><![CDATA[multisite]]></category> <category><![CDATA[Multisite Language Switcher]]></category> <category><![CDATA[plugin]]></category> <category><![CDATA[theme]]></category> <category><![CDATA[wordpress]]></category><guid isPermaLink="false">http://oncleben31.cc/en/?p=19</guid> <description><![CDATA[First post of the new oncleben31.cc to share how I&#8217;ve setup WordPress to make a bilingual  blog using the multisite feature. This can be easily extaneded for multilingual blogs. I need two independent sites to facilitate the plugins and theme localization &#8230; <a href="http://oncleben31.cc/en/how-to-bilingual-multilingual-wordpress-multisite-blog/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<p style="text-align: justify;">First post of the new oncleben31.cc to share how I&#8217;ve setup WordPress to make a bilingual  blog using the multisite feature. This can be easily extaneded for multilingual blogs.</p><p style="text-align: justify;">I need two independent sites to facilitate the plugins and theme localization with an easy way to switch between languages if a translation is available. Another reason is to optimize the search engine indexing. With this solution I can have some language specific posts without translation.</p><p style="text-align: justify;">Below I explain how I&#8217;ve implement that with WordPress: <span id="more-19"></span></p><ol><li style="text-align: justify;">Setup of the WordPress <strong>multisite</strong> feature. If you don&#8217;t know it, it allow to have many WordPress site with only one installation. Administration is simplified and updates are done only once. To have more information go and read <a title="multisite feature for WordPress documentation" href="http://codex.wordpress.org/Create_A_Network">the multisite documentation</a>.</li><li style="text-align: justify;">I have a root blog (oncleben31.cc/) which is useless (see step n°4), a french blog (oncleben31.cc/fr/) and an english blog (oncleben31.cc/en/). The language is setup in wordpress settings. Benefits: I can have specific plugins or theme for each language if needed.</li><li style="text-align: justify;">I use the <a title="Multisite language switcher plugin" href="http://wordpress.org/extend/plugins/multisite-language-switcher/">Multisite Language Switcher by lloc</a> plugin to display a link in the side bar to go to the other language (sources hosted on <a title="Multisite Language Switcher plugin on github" href="https://github.com/lloc/Multisite-Language-Switcher">github</a>). This plugin is really useful: it allows to display a link to the other available language and it allows to add a link to the translation of a post or a page if available too. This feature is eased by adding a drop down list in the edit view.<p><div id="attachment_26" class="wp-caption aligncenter" style="width: 538px"><a href="http://oncleben31.cc/en/files/2011/12/Multisite-Language-Switcher-plugin-example.jpg" rel="shadowbox[sbpost-19];player=img;"><img class="size-full wp-image-26" title="Example of the Multisite Language Switcher plugin when editing a post" src="http://oncleben31.cc/en/files/2011/12/Multisite-Language-Switcher-plugin-example.jpg" alt="Example of the Multisite Language Switcher plugin when editing a post" width="528" height="453" /></a><p class="wp-caption-text">Example of the Multisite Language Switcher plugin when editing a post</p></div></li><li style="text-align: justify;">The last thing is about managing visitor coming directly on  &#8221;http://oncleben31.cc/&#8221;. Indeed the root website is a third wordpress blog not in french nor in english. I made a hack to redirect users in function of the preferred language return by the browser. To do that I&#8217;ve created the &#8221;Multisite Language Switcher Theme&#8221; theme which doesn&#8217;t display any content but manage the redirection (<a title="Multisite Language Switcher Theme" href="http://oncleben31.cc/en/multisite-language-switcher-theme/">theme detailed in this post</a>). To avoid disorientating your visitor this theme manages 404 errors too . You can find the theme&#8217;s sources and improve it on <a title="Multisite Language Switcher Theme sources hosted on github" href="https://github.com/oncleben31/Multisite-Language-Switcher-Theme">Github</a>.</li></ol><p style="text-align: justify;">Setting up a multilingual blog is not easy and I&#8217;ve search a long time to find the good solution corresponding to my needs. If you have simular needs let&#8217;s try this solution and share your experiences in the comments.</p> ]]></content:encoded> <wfw:commentRss>http://oncleben31.cc/en/how-to-bilingual-multilingual-wordpress-multisite-blog/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced
Database Caching 2/12 queries in 0.010 seconds using disk: basic
Object Caching 376/393 objects using disk: basic

Served from: oncleben31.cc @ 2012-02-05 18:37:42 -->
