<?xml version="1.0" encoding="UTF-8"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>WordPress MU Forums Topic: Multi language set up</title>
<link>http://mu.wordpress.org/forums/</link>
<description>WordPress MU Forums Topic: Multi language set up</description>
<language>en</language>
<pubDate>Sun, 19 May 2013 14:28:57 +0000</pubDate>

<item>
<title>andrea_r on "Multi language set up"</title>
<link>http://mu.wordpress.org/forums/topic/2042/page/2#post-72378</link>
<pubDate>Sat, 18 Apr 2009 14:09:54 +0000</pubDate>
<dc:creator>andrea_r</dc:creator>
<guid isPermaLink="false">72378@http://mu.wordpress.org/forums/</guid>
<description>&#60;p&#62;Next time, please don;t post such long code. Link to a file or pastebin.&#60;/p&#62;
&#60;p&#62;Keeps the thread shorter. :)
&#60;/p&#62;</description>
</item>
<item>
<title>dsalon on "Multi language set up"</title>
<link>http://mu.wordpress.org/forums/topic/2042/page/2#post-72373</link>
<pubDate>Sat, 18 Apr 2009 13:05:44 +0000</pubDate>
<dc:creator>dsalon</dc:creator>
<guid isPermaLink="false">72373@http://mu.wordpress.org/forums/</guid>
<description>&#60;p&#62;actually this wpml.org project appears to be kind of interesting and a directly competitive system to ours... hey that is very welcome! ... maybe we can co-operate in future... &#60;/p&#62;
&#60;p&#62;particularly since their approach and overall concept is completely different to ours which will enable similar multilingual features as the wordpress.com site...&#60;/p&#62;
&#60;p&#62;now please excuse our post above... which occurred maybe somewhat overhastly...&#60;/p&#62;
&#60;p&#62;as you know all of these software projects need twice more time as you need...&#60;/p&#62;
&#60;p&#62;to date we expect the release of our first publicly available wpml(mu) plugin in about two or three weeks...&#60;/p&#62;
&#60;p&#62;then you will also receive detailed instructions  on the installation and features and you can test it, whereby you may learn the differences between our approach and the wpml.org approach, whereby this onthegosystems.inc. behind currently appears from our understanding rather mysterious....&#60;/p&#62;
&#60;p&#62;so thank you again for your understanding for our maybe overhastly post and the further time we need our the first publicly available release...
&#60;/p&#62;</description>
</item>
<item>
<title>andrea_r on "Multi language set up"</title>
<link>http://mu.wordpress.org/forums/topic/2042/page/2#post-72344</link>
<pubDate>Fri, 17 Apr 2009 15:53:20 +0000</pubDate>
<dc:creator>andrea_r</dc:creator>
<guid isPermaLink="false">72344@http://mu.wordpress.org/forums/</guid>
<description>&#60;p&#62;Have a look at &#60;a href=&#34;http://wpml.org/&#34; rel=&#34;nofollow&#34;&#62;http://wpml.org/&#60;/a&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>simonwheatley on "Multi language set up"</title>
<link>http://mu.wordpress.org/forums/topic/2042/page/2#post-72318</link>
<pubDate>Fri, 17 Apr 2009 06:51:18 +0000</pubDate>
<dc:creator>simonwheatley</dc:creator>
<guid isPermaLink="false">72318@http://mu.wordpress.org/forums/</guid>
<description>&#60;p&#62;Daily - Is your plugin anywhere I can see, please?
&#60;/p&#62;</description>
</item>
<item>
<title>mattiasantin on "Multi language set up"</title>
<link>http://mu.wordpress.org/forums/topic/2042/page/2#post-70224</link>
<pubDate>Tue, 17 Mar 2009 22:19:00 +0000</pubDate>
<dc:creator>mattiasantin</dc:creator>
<guid isPermaLink="false">70224@http://mu.wordpress.org/forums/</guid>
<description>&#60;p&#62;Hi Dsalon,&#60;/p&#62;
&#60;p&#62;can you tell me in which directories I should copy the files you posted?&#60;/p&#62;
&#60;p&#62;Thanks
&#60;/p&#62;</description>
</item>
<item>
<title>dsalon on "Multi language set up"</title>
<link>http://mu.wordpress.org/forums/topic/2042/page/2#post-70187</link>
<pubDate>Tue, 17 Mar 2009 14:55:54 +0000</pubDate>
<dc:creator>dsalon</dc:creator>
<guid isPermaLink="false">70187@http://mu.wordpress.org/forums/</guid>
<description>&#60;p&#62;of course you will have your selected language files uploaded and the define WP_LANG command uncommented in your wp-config file...
&#60;/p&#62;</description>
</item>
<item>
<title>dsalon on "Multi language set up"</title>
<link>http://mu.wordpress.org/forums/topic/2042/page/2#post-70186</link>
<pubDate>Tue, 17 Mar 2009 14:49:29 +0000</pubDate>
<dc:creator>dsalon</dc:creator>
<guid isPermaLink="false">70186@http://mu.wordpress.org/forums/</guid>
<description>&#60;p&#62;we are currently developing a plugin which will comprise a plurality of multi language features, whereby there will be an wpmu-admin version, a wp version and also a combined version... it is the combined version, which will comprise said plurality of features...&#60;/p&#62;
&#60;p&#62;actually todate we are not sure, if we will make all features available to the public, maybe we will try to share with some of these wpmudev premium plugins...&#60;/p&#62;
&#60;p&#62;you can fand the wpmu-admin version below, simply copy the files in the appropriate directories:&#60;/p&#62;
&#60;p&#62;&#38;lt;?php&#60;br /&#62;
/*&#60;br /&#62;
Plugin Name: WPMU-Default-Language&#60;br /&#62;
Plugin URI: &#60;a href=&#34;http://weshalltelyoulater.net/&#34; rel=&#34;nofollow&#34;&#62;http://weshalltelyoulater.net/&#60;/a&#62;&#60;br /&#62;
Description: Creates a blog in a selected language and lets you select the language of the entire site and of individual blogs.&#60;br /&#62;
Author: tpd&#60;br /&#62;
Version: 0.0.8&#60;br /&#62;
Author URI: &#60;a href=&#34;http://weshalltelyoulater.net/&#34; rel=&#34;nofollow&#34;&#62;http://weshalltelyoulater.net/&#60;/a&#62;&#60;br /&#62;
*/&#60;/p&#62;
&#60;p&#62; include (dirname(__FILE__) . '/wpmu/' . basename(__FILE__));&#60;/p&#62;
&#60;p&#62;?&#38;gt;&#60;/p&#62;
&#60;p&#62;&#38;lt;?php&#60;br /&#62;
/*&#60;br /&#62;
Plugin Name: WPMU-Default-Language&#60;br /&#62;
Plugin URI: &#60;a href=&#34;http://weshalltelyoulater.net/&#34; rel=&#34;nofollow&#34;&#62;http://weshalltelyoulater.net/&#60;/a&#62;&#60;br /&#62;
Description: Creates a blog in a selected language and lets you select the language of the entire site and of individual blogs.&#60;br /&#62;
Author: tpd&#60;br /&#62;
Version: 0.0.8&#60;br /&#62;
Author URI: &#60;a href=&#34;http://weshalltelyoulater.net/&#34; rel=&#34;nofollow&#34;&#62;http://weshalltelyoulater.net/&#60;/a&#62;&#60;br /&#62;
*/&#60;/p&#62;
&#60;p&#62;load_textdomain('wpmu', ABSPATH . 'wp-content/mu-plugins/wpmu/languages/wpmu_' . WPLANG . '.mo');&#60;/p&#62;
&#60;p&#62;function wpmu_language_dict($value) {&#60;/p&#62;
&#60;p&#62;	$l_dict['bg_BG'] = __('Bulgarian', 'wpml');&#60;br /&#62;
	$l_dict['cs_CZ'] = __('Czech', 'wpml');&#60;br /&#62;
	$l_dict['da_DK'] = __('Danish', 'wpml');&#60;br /&#62;
	$l_dict['de_DE'] = __('German', 'wpml');&#60;br /&#62;
	$l_dict['en_EN'] = __('English', 'wpml');&#60;br /&#62;
	$l_dict['es_ES'] = __('Espanol', 'wpml');&#60;br /&#62;
	$l_dict['fr_FR'] = __('French', 'wpml');&#60;br /&#62;
	$l_dict['hu_HU'] = __('Hungarian', 'wpml');&#60;br /&#62;
	$l_dict['it_IT'] = __('Italiano', 'wpml');&#60;br /&#62;
	$l_dict['jp_JP'] = __('Japanese', 'wpml');&#60;br /&#62;
	$l_dict['nl_NL'] = __('Netherlands', 'wpml');&#60;br /&#62;
	$l_dict['pl_PL'] = __('Polish', 'wpml');&#60;br /&#62;
	$l_dict['pt_PT'] = __('Portuguese', 'wpml');&#60;br /&#62;
	$l_dict['sr_RS'] = __('Serbian', 'wpml');&#60;br /&#62;
	$l_dict['sv_SE'] = __('Swedish', 'wpml');&#60;br /&#62;
	$l_dict['ru_RU'] = __('Russian', 'wpml');&#60;br /&#62;
	$l_dict['ua_UA'] = __('Ukranian', 'wpml');&#60;br /&#62;
	$l_dict['00_00'] = __('not specified', 'wpml');&#60;/p&#62;
&#60;p&#62;	if ($l_dict[$value] == '') {&#60;/p&#62;
&#60;p&#62;		return $value;&#60;/p&#62;
&#60;p&#62;	} else  {&#60;/p&#62;
&#60;p&#62;		return $l_dict[$value];&#60;/p&#62;
&#60;p&#62;	}&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;function wpmu_language_select($wpmu_lang) {&#60;/p&#62;
&#60;p&#62;	$dir = ABSPATH . 'wp-content/languages/';&#60;/p&#62;
&#60;p&#62;	$verz=opendir($dir);&#60;/p&#62;
&#60;p&#62;	$ext	= '.mo';&#60;/p&#62;
&#60;p&#62;	$i = 0;&#60;/p&#62;
&#60;p&#62;	$lang_array = array();&#60;/p&#62;
&#60;p&#62;	while($file = readdir($verz)){&#60;br /&#62;
  		if($file != '.' &#38;#38;&#38;#38; $file != '..' &#38;#38;&#38;#38; (substr($file, -3)) == $ext) {&#60;br /&#62;
			$lang_array[$i] = substr($file, 0, 5);&#60;br /&#62;
			$i++;&#60;br /&#62;
		}&#60;br /&#62;
	}&#60;br /&#62;
	closedir($verz);&#60;/p&#62;
&#60;p&#62;	$lang_array[$i] = 'en_EN';&#60;/p&#62;
&#60;p&#62;	asort($lang_array);&#60;/p&#62;
&#60;p&#62;	foreach ( $lang_array as $key =&#38;gt; $value )&#60;br /&#62;
	{&#60;/p&#62;
&#60;p&#62;				if ($value == $wpmu_lang) {&#60;/p&#62;
&#60;p&#62;   				$output .= &#34;&#38;lt;option selected value=\&#34;&#34; . $value . &#34;\&#34;&#38;gt;&#34; . wpmu_language_dict($value) . &#34;&#38;lt;/option&#38;gt;&#34;;&#60;/p&#62;
&#60;p&#62;				} else {&#60;/p&#62;
&#60;p&#62;   				$output .= &#34;&#38;lt;option value=\&#34;&#34; . $value . &#34;\&#34;&#38;gt;&#34; . wpmu_language_dict($value) . &#34;&#38;lt;/option&#38;gt;&#34;;&#60;/p&#62;
&#60;p&#62;				}&#60;br /&#62;
	}&#60;/p&#62;
&#60;p&#62;	echo $output;&#60;/p&#62;
&#60;p&#62;}&#60;/p&#62;
&#60;p&#62;////////////&#60;/p&#62;
&#60;p&#62;function wpmu_language_pre_select() {&#60;/p&#62;
&#60;p&#62;		if(isset($_POST['wpmu_lang'])) {&#60;br /&#62;
			$wpmu_lang = $_POST['wpmu_lang'];&#60;br /&#62;
		} else {&#60;br /&#62;
			$wpmu_lang = get_option('WPLANG');&#60;br /&#62;
		}&#60;/p&#62;
&#60;p&#62;?&#38;gt;&#60;br /&#62;
		&#38;lt;label for=&#34;wpmu_lang&#34;&#38;gt;&#38;lt;span class=&#34;prefix_address&#34;&#38;gt;&#38;lt;?php _e('Language', 'wpmu')?&#38;gt;&#38;lt;/span&#38;gt;&#38;lt;/label&#38;gt;&#60;br /&#62;
&#38;lt;?php&#60;/p&#62;
&#60;p&#62;		wpml_wpmu_signup_extra_fields($wpmu_lang);&#60;/p&#62;
&#60;p&#62;}&#60;/p&#62;
&#60;p&#62;////////////////////////////////////&#60;/p&#62;
&#60;p&#62;function wpml_wpmu_site_language($wpmu_site_lang)&#60;br /&#62;
{&#60;br /&#62;
?&#38;gt;&#60;/p&#62;
&#60;p&#62;&#38;lt;select style=&#34;font-size: 18px; border: 1px solid #e5e5e5; font-family: 'Lucida Grande', Verdana, Arial, 'Bitstream Vera Sans', sans-serif; color: #333;&#34; name=&#34;wpmu_site_lang&#34;&#38;gt;&#60;br /&#62;
&#38;lt;?php&#60;br /&#62;
	$wpmu_lang = $wpmu_site_lang;&#60;br /&#62;
	wpmu_language_select($wpmu_lang);&#60;br /&#62;
?&#38;gt;&#60;br /&#62;
&#38;lt;/select&#38;gt;&#60;/p&#62;
&#60;p&#62;&#38;lt;?php&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;////////////////////////////////////&#60;/p&#62;
&#60;p&#62;function wpml_wpmu_language($wpmu_lang)&#60;br /&#62;
{&#60;br /&#62;
?&#38;gt;&#60;/p&#62;
&#60;p&#62;&#38;lt;select style=&#34;font-size: 18px; border: 1px solid #e5e5e5; font-family: 'Lucida Grande', Verdana, Arial, 'Bitstream Vera Sans', sans-serif; color: #333;&#34; name=&#34;wpmu_lang&#34;&#38;gt;&#60;br /&#62;
&#38;lt;?php&#60;br /&#62;
	wpmu_language_select($wpmu_lang);&#60;br /&#62;
?&#38;gt;&#60;br /&#62;
&#38;lt;/select&#38;gt;&#60;/p&#62;
&#60;p&#62;&#38;lt;?php&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;//////////////////////////////////&#60;/p&#62;
&#60;p&#62;function wpml_wpmu_signup_extra_fields($wpmu_lang)&#60;br /&#62;
{&#60;br /&#62;
?&#38;gt;&#60;/p&#62;
&#60;p&#62;&#38;lt;select style=&#34;&#60;br /&#62;
	-moz-border-radius: 4px;&#60;br /&#62;
	-khtml-border-radius: 4px;&#60;br /&#62;
	-webkit-border-radius: 4px;&#60;br /&#62;
	background: #fbfbfb; font-size: 18px; border: 1px solid #e5e5e5; font-family: 'Lucida Grande', Verdana, Arial, 'Bitstream Vera Sans', sans-serif; color: #333;&#34; name=&#34;wpmu_lang&#34;&#38;gt;&#60;br /&#62;
&#38;lt;?php&#60;/p&#62;
&#60;p&#62;	wpmu_language_select($wpmu_lang);&#60;br /&#62;
?&#38;gt;&#60;br /&#62;
&#38;lt;/select&#38;gt;&#60;/p&#62;
&#60;p&#62;&#38;lt;?php&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;function wpml_wpmu_signup_blog_init($content)&#60;br /&#62;
{&#60;br /&#62;
	if(isset($_POST['wpmu_lang'])) {&#60;br /&#62;
		$content['wpmu_lang'] = $_POST['wpmu_lang'];&#60;br /&#62;
		return $content;&#60;br /&#62;
	}&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;function wpml_wpmu_add_signup_meta($meta)&#60;br /&#62;
{&#60;br /&#62;
	if(isset($_POST['wpmu_lang'])) {&#60;br /&#62;
		$meta['WPLANG'] = $_POST['wpmu_lang'];&#60;br /&#62;
		return $meta;&#60;br /&#62;
	}&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;function wpml_wpmu_manage_page() {&#60;/p&#62;
&#60;p&#62;if ('wpmu_process' == $_POST['wpmu_stage'])&#60;br /&#62;
{&#60;/p&#62;
&#60;p&#62;	if(isset($_POST['wpmu_lang']))&#60;br /&#62;
	update_option('WPLANG', $_POST['wpmu_lang']);&#60;/p&#62;
&#60;p&#62;	if(isset($_POST['wpmu_site_lang']))&#60;br /&#62;
	update_site_option('WPLANG', $_POST['wpmu_site_lang']);&#60;/p&#62;
&#60;p&#62;}&#60;/p&#62;
&#60;p&#62;	$wpmu_site_lang = get_site_option('WPLANG');&#60;/p&#62;
&#60;p&#62;	$wpmu_lang = get_option('WPLANG');&#60;/p&#62;
&#60;p&#62;	echo &#34;&#38;lt;div class='wrap'&#38;gt;&#38;lt;h2&#38;gt;&#34; . __( 'Language Setting', 'wpmu' ) . &#34;&#38;lt;/h2&#38;gt;&#34;;&#60;/p&#62;
&#60;p&#62;	echo '&#38;lt;h3&#38;gt;' . __( 'Site Admin Configuration', 'wpmu' ) . '&#38;lt;/h3&#38;gt;';&#60;br /&#62;
	echo '&#38;lt;form method=&#34;POST&#34;&#38;gt;';&#60;br /&#62;
	echo '&#38;lt;input type=&#34;hidden&#34; name=&#34;wpmu_stage&#34; value=&#34;wpmu_process&#34; /&#38;gt;';&#60;br /&#62;
if( is_site_admin() ) {&#60;br /&#62;
	echo &#34;&#38;lt;p&#38;gt;&#34; . __( 'As a site admin on this site you can set the language of your entire site.', 'wpmu' ) . &#34;&#38;lt;/p&#38;gt;&#34;;&#60;br /&#62;
	wpml_wpmu_site_language($wpmu_site_lang);&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;	echo &#34;&#60;br /&#62;&#34;;&#60;br /&#62;
	echo &#34;&#38;lt;p&#38;gt;&#34; . __( 'As a blog admin you can set the language of your site.', 'wpmu' ) . &#34;&#38;lt;/p&#38;gt;&#34;;&#60;br /&#62;
	wpml_wpmu_language($wpmu_lang);&#60;/p&#62;
&#60;p&#62;	echo &#34;&#38;lt;p class='submit'&#38;gt;&#38;lt;input type='submit' value='&#34; .  __( 'Update', 'wpmu' ) . &#34; &#38;raquo;' /&#38;gt;&#38;lt;/p&#38;gt;&#34;;&#60;br /&#62;
	echo &#34;&#38;lt;/form&#38;gt;&#60;br /&#62;&#34;;&#60;br /&#62;
	echo &#34;&#38;lt;/div&#38;gt;&#34;;&#60;br /&#62;
?&#38;gt;&#60;br /&#62;
  &#38;lt;div class='wrap'&#38;gt;&#38;lt;h2&#38;gt;&#38;lt;?php _e('Comments', 'wpmu') ?&#38;gt;&#38;lt;/h2&#38;gt;&#60;br /&#62;
	&#38;lt;fieldset class=&#34;options&#34;&#38;gt;&#60;/p&#62;
&#60;p&#62;	    &#38;lt;table width=&#34;100%&#34; cellpadding=&#34;5&#34; class=&#34;editform&#34;&#38;gt;&#60;br /&#62;
	      &#38;lt;tr valign=&#34;top&#34;&#38;gt;&#60;br /&#62;
	        &#38;lt;td&#38;gt;&#60;br /&#62;&#38;lt;?php _e('Install, activate, have fun... be happy!', 'wpmu') ?&#38;gt;&#38;lt;/td&#38;gt;&#60;br /&#62;
	      &#38;lt;/tr&#38;gt;&#60;br /&#62;
	      &#38;lt;tr valign=&#34;top&#34;&#38;gt;&#60;br /&#62;
	        &#38;lt;td&#38;gt;&#60;br /&#62;&#38;lt;?php _e('For further information please visit the Plugin Author', 'wpmu') ?&#38;gt;  ... &#38;lt;/td&#38;gt;&#60;br /&#62;
	      &#38;lt;/tr&#38;gt;&#60;br /&#62;
	&#38;lt;/table&#38;gt;&#60;br /&#62;
	&#38;lt;/fieldset&#38;gt;&#60;br /&#62;
    &#38;lt;p class=&#34;submit&#34;&#38;gt;&#60;/p&#62;
&#60;p&#62;    &#38;lt;/p&#38;gt;&#60;br /&#62;
&#38;lt;/div&#38;gt;&#60;br /&#62;
&#38;lt;?php&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;function wpml_wpmu_add_pages() {&#60;/p&#62;
&#60;p&#62;	$menu = __('Language', 'wpmu');&#60;/p&#62;
&#60;p&#62;	if( is_site_admin() ) {&#60;br /&#62;
		$submenu = __('Language settings', 'wpmu');&#60;br /&#62;
        	$option_file = basename(dirname(__FILE__)) . '/' . basename(__FILE__);&#60;br /&#62;
        	add_submenu_page('wpmu-admin.php', 'Language', $menu, 0, $option_file, 'wpml_wpmu_manage_page');&#60;br /&#62;
	}&#60;br /&#62;
	else {&#60;br /&#62;
		$submenu = __('Language options', 'wpmu');&#60;br /&#62;
		add_management_page($menu, $submenu, 'manage_options', 'languagesettings', 'wpml_wpmu_manage_page');&#60;br /&#62;
	}&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;add_action('admin_menu', 'wpml_wpmu_add_pages');&#60;/p&#62;
&#60;p&#62;add_filter('signup_blog_init', 'wpml_wpmu_signup_blog_init');&#60;/p&#62;
&#60;p&#62;// add_filter('signup_another_blog_init', 'wpml_wpmu_signup_blog_init');&#60;/p&#62;
&#60;p&#62;add_action('signup_extra_fields', 'wpmu_language_pre_select');&#60;/p&#62;
&#60;p&#62;add_action('signup_blogform', 'wpmu_language_pre_select');&#60;/p&#62;
&#60;p&#62;add_filter('add_signup_meta', 'wpml_wpmu_add_signup_meta');&#60;/p&#62;
&#60;p&#62;?&#38;gt;&#60;/p&#62;
&#60;p&#62;Install, use, enjoy... be happy!
&#60;/p&#62;</description>
</item>
<item>
<title>mikaelwehner on "Multi language set up"</title>
<link>http://mu.wordpress.org/forums/topic/2042/page/2#post-70145</link>
<pubDate>Tue, 17 Mar 2009 00:26:23 +0000</pubDate>
<dc:creator>mikaelwehner</dc:creator>
<guid isPermaLink="false">70145@http://mu.wordpress.org/forums/</guid>
<description>&#60;p&#62;Daily, how is the plugin comming along? Will it work for an ordinary WP site as well?
&#60;/p&#62;</description>
</item>
<item>
<title>qdinar on "Multi language set up"</title>
<link>http://mu.wordpress.org/forums/topic/2042/page/2#post-67742</link>
<pubDate>Sat, 14 Feb 2009 21:23:54 +0000</pubDate>
<dc:creator>qdinar</dc:creator>
<guid isPermaLink="false">67742@http://mu.wordpress.org/forums/</guid>
<description>&#60;p&#62;now i cannot edit. but that commands that are in the post that is previous of previous post are with comments between them.
&#60;/p&#62;</description>
</item>
<item>
<title>qdinar on "Multi language set up"</title>
<link>http://mu.wordpress.org/forums/topic/2042/page/2#post-67733</link>
<pubDate>Sat, 14 Feb 2009 20:29:50 +0000</pubDate>
<dc:creator>qdinar</dc:creator>
<guid isPermaLink="false">67733@http://mu.wordpress.org/forums/</guid>
<description>&#60;p&#62;that themes was not all correct that are in &#60;a href=&#34;http://mu.wordpress.org/forums/topic.php?id=2042&#38;#38;page=2#post-57965&#34; rel=&#34;nofollow&#34;&#62;http://mu.wordpress.org/forums/topic.php?id=2042&#38;#38;page=2#post-57965&#60;/a&#62; in this topic.
&#60;/p&#62;</description>
</item>
<item>
<title>qdinar on "Multi language set up"</title>
<link>http://mu.wordpress.org/forums/topic/2042/page/2#post-67728</link>
<pubDate>Sat, 14 Feb 2009 20:01:41 +0000</pubDate>
<dc:creator>qdinar</dc:creator>
<guid isPermaLink="false">67728@http://mu.wordpress.org/forums/</guid>
<description>&#60;p&#62;&#60;a href=&#34;http://mu.wordpress.org/forums/topic.php?id=10915&#34; rel=&#34;nofollow&#34;&#62;http://mu.wordpress.org/forums/topic.php?id=10915&#60;/a&#62; &#34;guest language selection&#34;.&#60;br /&#62;
now i have home page quickly can change language this way. i have added &#34;?l=en&#34; like links to multilingual home theme. current language is saved in cookie. but now i want to use non-multilingual home themes because multilingual is hard to modify. for that i should find the place where theme is selected and select it according to cookie in that place. i have found this place in wp-settings.php:&#60;br /&#62;
do_action('setup_theme');&#60;br /&#62;
define('TEMPLATEPATH', get_template_directory());&#60;br /&#62;
define('STYLESHEETPATH', get_stylesheet_directory());&#60;br /&#62;
.&#60;br /&#62;
i know now that i probably can change $locale with apply_filters.
&#60;/p&#62;</description>
</item>
<item>
<title>daily on "Multi language set up"</title>
<link>http://mu.wordpress.org/forums/topic/2042/page/2#post-67641</link>
<pubDate>Fri, 13 Feb 2009 15:39:50 +0000</pubDate>
<dc:creator>daily</dc:creator>
<guid isPermaLink="false">67641@http://mu.wordpress.org/forums/</guid>
<description>&#60;p&#62;I have now a working set of the plugin. It will ONLY change the admin side language and the language can be selected on profile page. It has some bug with russian language pack, but any other language that I have tested with &#34;normal&#34; characters works fine. To use the plugin you need to download the language files for each language you want to use and upload them normally to languages folder.&#60;/p&#62;
&#60;p&#62;I'll try publish a working plugin in a month or so.&#60;/p&#62;
&#60;p&#62;goko: if u wanna use that code u have to build up a plugin.
&#60;/p&#62;</description>
</item>
<item>
<title>goko on "Multi language set up"</title>
<link>http://mu.wordpress.org/forums/topic/2042/page/2#post-64827</link>
<pubDate>Sat, 17 Jan 2009 22:47:54 +0000</pubDate>
<dc:creator>goko</dc:creator>
<guid isPermaLink="false">64827@http://mu.wordpress.org/forums/</guid>
<description>&#60;p&#62;Excuse my ignorance but where shall I paste daily's code?
&#60;/p&#62;</description>
</item>
<item>
<title>path2u on "Multi language set up"</title>
<link>http://mu.wordpress.org/forums/topic/2042/page/2#post-61974</link>
<pubDate>Mon, 24 Nov 2008 18:19:15 +0000</pubDate>
<dc:creator>path2u</dc:creator>
<guid isPermaLink="false">61974@http://mu.wordpress.org/forums/</guid>
<description>&#60;p&#62;hey Daily, it sounds like you have made some progess with this. Let me know if there is a way I can make a donation to your efforts, as I plan on using them as well if possible.&#60;br /&#62;
I know very little about coding, so I am all for a working plugin as well.&#60;br /&#62;
thanks
&#60;/p&#62;</description>
</item>
<item>
<title>daily on "Multi language set up"</title>
<link>http://mu.wordpress.org/forums/topic/2042/page/2#post-61539</link>
<pubDate>Mon, 17 Nov 2008 09:24:13 +0000</pubDate>
<dc:creator>daily</dc:creator>
<guid isPermaLink="false">61539@http://mu.wordpress.org/forums/</guid>
<description>&#60;p&#62;Hi RanvanH,&#60;/p&#62;
&#60;p&#62;If you run multiple blogs with MU with multiple languages, WP_LANG is saved in wp_options table. So wp-config.php is untouched in that case too.&#60;/p&#62;
&#60;p&#62;I just tried overriding the locale function with add_filter and it seems to work fine. I don't know why it didn't work earlier when i tried it?  You can use the previous code, just switch the add_filter to this:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;//Filters
	if (is_admin())
	    add_filter(&#38;#39;locale&#38;#39;, array($wp_adminLanguageSwitcher, &#38;#39;load_admin_textdomain&#38;#39;));&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;I'll do some more testing, clean up the code and release the entire plugin some time near future.
&#60;/p&#62;</description>
</item>
<item>
<title>RavanH on "Multi language set up"</title>
<link>http://mu.wordpress.org/forums/topic/2042/page/2#post-61352</link>
<pubDate>Thu, 13 Nov 2008 23:11:22 +0000</pubDate>
<dc:creator>RavanH</dc:creator>
<guid isPermaLink="false">61352@http://mu.wordpress.org/forums/</guid>
<description>&#60;p&#62;Hi daily,&#60;/p&#62;
&#60;p&#62;You wrote a month ago&#60;br /&#62;
[blockquote]Well little progress... I found out that if WP_LANG is empty (default lang en_US), u can override to your preferred language using init hook and load_textdomain function, but it fails for some reason if WP_LANG is something else than empty.[/blockquote]&#60;/p&#62;
&#60;p&#62;So what is the problem? Surely it is not much to ask of a WPMU admin who would like this too (very much, thank you ;) !) to clear the WP_LANG value in wp-config.php? In fact, it is already &#60;code&#62;define(&#38;#39;WPLANG&#38;#39;, &#38;#39;&#38;#39;);&#60;/code&#62; in mine... &#60;/p&#62;
&#60;p&#62;Or do I misunderstand you here?
&#60;/p&#62;</description>
</item>
<item>
<title>daily on "Multi language set up"</title>
<link>http://mu.wordpress.org/forums/topic/2042/page/2#post-61005</link>
<pubDate>Fri, 07 Nov 2008 00:33:50 +0000</pubDate>
<dc:creator>daily</dc:creator>
<guid isPermaLink="false">61005@http://mu.wordpress.org/forums/</guid>
<description>&#60;p&#62;Hi Jesse,&#60;/p&#62;
&#60;p&#62;I got kind of stuck with my plugin and since I didn't get any help here either the plugin is still on hold. I don't know if it's done by plugin in wordpress.com or by hacking core files, but at least that shows us it is doable. I've been looking allover to solve the problems with  this plugin, but I guess there isn't that many who actually knows how to manipulate/override default locale and I couldn't figure it out either. But if you do find anything that could help post links here. When I figure out how to override the basic locale, it should be only a matter of few hours to deliver a working plugin for everyone to use.
&#60;/p&#62;</description>
</item>
<item>
<title>jesse@path2u.com on "Multi language set up"</title>
<link>http://mu.wordpress.org/forums/topic/2042/page/2#post-60993</link>
<pubDate>Thu, 06 Nov 2008 19:45:37 +0000</pubDate>
<dc:creator>jesse@path2u.com</dc:creator>
<guid isPermaLink="false">60993@http://mu.wordpress.org/forums/</guid>
<description>&#60;p&#62;Has there ever been a good solution to this. I was looking for exactly what you had mentioned Daily. A plugin which translates the admin, and structure of wordpress. I am not concerned with the post text, as that in not accurate enough for our blog writers who will write in their native languages. I just want a language menu so viewers can see which blogs are in their languages, and get around the site to read them.&#60;br /&#62;
Any ideas would be wonderful.&#60;br /&#62;
thanks,&#60;br /&#62;
Jesse&#60;br /&#62;
&#60;a href=&#34;mailto:jesse9goodman@gmail.com&#34;&#62;jesse9goodman@gmail.com&#60;/a&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>neovita on "Multi language set up"</title>
<link>http://mu.wordpress.org/forums/topic/2042/page/2#post-59492</link>
<pubDate>Tue, 14 Oct 2008 16:27:43 +0000</pubDate>
<dc:creator>neovita</dc:creator>
<guid isPermaLink="false">59492@http://mu.wordpress.org/forums/</guid>
<description>&#60;p&#62;Have any of you tried Poplar Ware multi language plugin?  &#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.poplarware.com/languageplugin.html&#34; rel=&#34;nofollow&#34;&#62;http://www.poplarware.com/languageplugin.html&#60;/a&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>daily on "Multi language set up"</title>
<link>http://mu.wordpress.org/forums/topic/2042/page/2#post-58802</link>
<pubDate>Mon, 06 Oct 2008 15:11:48 +0000</pubDate>
<dc:creator>daily</dc:creator>
<guid isPermaLink="false">58802@http://mu.wordpress.org/forums/</guid>
<description>&#60;p&#62;I guess nobody here can help me. :( &#60;/p&#62;
&#60;p&#62;I was stuck, I had to do solve this problem somehow, so I ended up hacking wp-config.php file. Not very neat solution but deadline is deadline. &#60;/p&#62;
&#60;p&#62;I still want to get this plugin to work, so if you got any ideas, please post them here.
&#60;/p&#62;</description>
</item>
<item>
<title>daily on "Multi language set up"</title>
<link>http://mu.wordpress.org/forums/topic/2042/page/2#post-58427</link>
<pubDate>Wed, 01 Oct 2008 22:11:55 +0000</pubDate>
<dc:creator>daily</dc:creator>
<guid isPermaLink="false">58427@http://mu.wordpress.org/forums/</guid>
<description>&#60;p&#62;Well little progress... I found out that if WP_LANG is empty (default lang en_US), u can override to your preferred language using init hook and load_textdomain function, but it fails for some reason if WP_LANG is something else than empty.&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;function load_admin_textdomain() {
			global $locale;
			global $l10n;

			$userAdminLanguage = $this-&#38;gt;getUserAdminLanguage();
			if (isset($userAdminLanguage) OR !empty($userAdminLanguage)) {
				$locale = $userAdminLanguage;
				$mofile = ABSPATH . LANGDIR . &#38;quot;/$locale.mo&#38;quot;;
				load_textdomain(&#38;#39;default&#38;#39;, $mofile);
			}

		}

//Filters
add_filter(&#38;#39;init&#38;#39;, array($wp_adminLanguageSwitcher, &#38;#39;load_admin_textdomain&#38;#39;));&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Google knows absolutely nothing about this either... and going line by line the core files is quite hard too because of wordpress' very nested file include structure. Is there some where a list very i could find the order of action hooks?
&#60;/p&#62;</description>
</item>
<item>
<title>daily on "Multi language set up"</title>
<link>http://mu.wordpress.org/forums/topic/2042/page/2#post-58131</link>
<pubDate>Sat, 27 Sep 2008 08:46:37 +0000</pubDate>
<dc:creator>daily</dc:creator>
<guid isPermaLink="false">58131@http://mu.wordpress.org/forums/</guid>
<description>&#60;p&#62;Could somebody just reply even to say its impossible or guide me to a site, where I could find the answer. Thanks! :)
&#60;/p&#62;</description>
</item>
<item>
<title>qdinar on "Multi language set up"</title>
<link>http://mu.wordpress.org/forums/topic/2042/page/2#post-57965</link>
<pubDate>Wed, 24 Sep 2008 19:52:33 +0000</pubDate>
<dc:creator>qdinar</dc:creator>
<guid isPermaLink="false">57965@http://mu.wordpress.org/forums/</guid>
<description>&#60;p&#62;hello.&#60;br /&#62;
i have just made gettext multilingual home and default themes:&#60;br /&#62;
&#60;a href=&#34;http://mu.wordpress.org/forums/topic.php?id=9667&#34; rel=&#34;nofollow&#34;&#62;http://mu.wordpress.org/forums/topic.php?id=9667&#60;/a&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>daily on "Multi language set up"</title>
<link>http://mu.wordpress.org/forums/topic/2042/page/2#post-57792</link>
<pubDate>Mon, 22 Sep 2008 12:20:35 +0000</pubDate>
<dc:creator>daily</dc:creator>
<guid isPermaLink="false">57792@http://mu.wordpress.org/forums/</guid>
<description>&#60;p&#62;Anyone? Any help would be great, i'm kinda of stuck here.&#60;/p&#62;
&#60;p&#62;Here is the &#34;working&#34; code so far: &#60;a href=&#34;http://pastebin.com/m24bf86b8&#34; rel=&#34;nofollow&#34;&#62;http://pastebin.com/m24bf86b8&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;I just need to know how to override wordpress locale and its ready for release.
&#60;/p&#62;</description>
</item>
<item>
<title>daily on "Multi language set up"</title>
<link>http://mu.wordpress.org/forums/topic/2042/page/2#post-57578</link>
<pubDate>Wed, 17 Sep 2008 11:55:48 +0000</pubDate>
<dc:creator>daily</dc:creator>
<guid isPermaLink="false">57578@http://mu.wordpress.org/forums/</guid>
<description>&#60;p&#62;Well i'll repost my question here too:&#60;/p&#62;
&#60;p&#62;&#34;I'm working on a new plugin that lets users choose their admin side language. This plugin only changes the admin locale, not the entire blogs. So if u have multiple authors each author can use wordpress admin in their preferred language. Each users language setting is saved in user profile in variable WP_ADMIN_LANG. The plugin automatically detecs the language files (.mo) in wp-content/languages folder and displays a dropdown box in users profile settings.&#60;/p&#62;
&#60;p&#62;Everything works allready this far. But tricky part is to get the actual localization to work, I havent found solution yet. I need to know when, and wich functions actually handles the loading of the locale. How can I override that function and can it be done by using action or filter hooks.&#34;&#60;/p&#62;
&#60;p&#62;This feature is in wordpress.com, so it shouldn't be impossible to achieve. Donncha can you point me to right direction? I would not like to touch config.php, because that would really destroy the ease of plugin installation.&#60;/p&#62;
&#60;p&#62;Additional feature for wpmu is ability for admins to set a default admin language.
&#60;/p&#62;</description>
</item>
<item>
<title>MazZziKa on "Multi language set up"</title>
<link>http://mu.wordpress.org/forums/topic/2042/page/2#post-55511</link>
<pubDate>Sun, 24 Aug 2008 06:06:21 +0000</pubDate>
<dc:creator>MazZziKa</dc:creator>
<guid isPermaLink="false">55511@http://mu.wordpress.org/forums/</guid>
<description>&#60;p&#62;Any Updated .. where is the patch
&#60;/p&#62;</description>
</item>
<item>
<title>hery on "Multi language set up"</title>
<link>http://mu.wordpress.org/forums/topic/2042/page/2#post-52366</link>
<pubDate>Thu, 03 Jul 2008 19:26:16 +0000</pubDate>
<dc:creator>hery</dc:creator>
<guid isPermaLink="false">52366@http://mu.wordpress.org/forums/</guid>
<description>&#60;p&#62;What about this?&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://hery.blaogy.org/2008/07/03/multi-language-plugin-for-wordpress-mu/&#34; rel=&#34;nofollow&#34;&#62;http://hery.blaogy.org/2008/07/03/multi-language-plugin-for-wordpress-mu/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;It is a plugin that will do it.&#60;/p&#62;
&#60;p&#62;Please, put the language files inside wp-content/languages because that is the place from wpmu 1.5
&#60;/p&#62;</description>
</item>
<item>
<title>binh on "Multi language set up"</title>
<link>http://mu.wordpress.org/forums/topic/2042/page/2#post-49590</link>
<pubDate>Sat, 24 May 2008 08:14:52 +0000</pubDate>
<dc:creator>binh</dc:creator>
<guid isPermaLink="false">49590@http://mu.wordpress.org/forums/</guid>
<description>&#60;p&#62;I'm trying to get Vietnamese for my new blog &#60;a href=&#34;http://cntt.binh.name&#34;&#62;CNTT&#60;/a&#62;. &#60;/p&#62;
&#60;p&#62;Here is how it's done:&#60;br /&#62;
1. I download the language file from here: &#60;a href=&#34;http://codex.wordpress.org/WordPress_in_Your_Language#Vietnamse_-_Ti.E1.BA.BFng_Vi.E1.BB.87t_.28vi_VN.29&#34; rel=&#34;nofollow&#34;&#62;http://codex.wordpress.org/WordPress_in_Your_Language#Vietnamse_-_Ti.E1.BA.BFng_Vi.E1.BB.87t_.28vi_VN.29&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;2. I create a folder languages under /wp-includes&#60;br /&#62;
3. I upload the file to /wp-includes/languages folder.&#60;br /&#62;
4. I open the WP-Admin and Options, then change Blog Language to Vietnamese&#60;/p&#62;
&#60;p&#62;Hooray! It's done! :)
&#60;/p&#62;</description>
</item>
<item>
<title>quike on "Multi language set up"</title>
<link>http://mu.wordpress.org/forums/topic/2042/page/2#post-40568</link>
<pubDate>Fri, 16 Nov 2007 01:20:19 +0000</pubDate>
<dc:creator>quike</dc:creator>
<guid isPermaLink="false">40568@http://mu.wordpress.org/forums/</guid>
<description>&#60;p&#62;Hi Pixline, I am also very interested in the future of this project. I downloaded the files to test them, but I almost didn't get past the installation.&#60;br /&#62;
I'm going to do my best to learn how to bug-track, and maybe even code, but please keep me updated.&#60;br /&#62;
Thanks for your work!&#60;br /&#62;
P.S. ho scoperto che siete italiani. io sono ticinese, potete scrivermi in italiano. Grazie!
&#60;/p&#62;</description>
</item>
<item>
<title>pixline on "Multi language set up"</title>
<link>http://mu.wordpress.org/forums/topic/2042#post-40472</link>
<pubDate>Wed, 14 Nov 2007 17:43:11 +0000</pubDate>
<dc:creator>pixline</dc:creator>
<guid isPermaLink="false">40472@http://mu.wordpress.org/forums/</guid>
<description>&#60;p&#62;Yes, I've opened a google code project, and now I'm hoping to find at least one more coder :) Also, reporting all the bugs you can find on that codebase in the tracker, would be really nice and useful.
&#60;/p&#62;</description>
</item>

</channel>
</rss>
