<?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>bbPress support forums Tag: i8n</title>
<link>http://bbpress.org/forums/</link>
<description>bbPress support forums Tag: i8n</description>
<language>en</language>
<pubDate>Tue, 02 Dec 2008 23:57:21 +0000</pubDate>

<item>
<title>myu on "bb_mail for user registration"</title>
<link>http://bbpress.org/forums/topic/bb_mail-for-user-registration#post-19890</link>
<pubDate>Mon, 13 Oct 2008 10:40:11 +0000</pubDate>
<dc:creator>myu</dc:creator>
<guid isPermaLink="false">19890@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;how silly I was....　trying to encode the whole header array....&#60;/p&#62;
&#60;p&#62;here's the working code, just in case somebody else is too tired to work it out ...&#60;br /&#62;
(from around line542 down)&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;if ($from)
			//$headers[] = &#38;#39;From: &#38;quot;&#38;#39; . bb_get_option(&#38;#39;name&#38;#39;) . &#38;#39;&#38;quot; &#38;lt;&#38;#39; . $from . &#38;#39;&#38;gt;&#38;#39;;	//orig
			//-------edit----------
			$headers[] = &#38;#39;From: &#38;quot;&#38;#39; . mb_encode_mimeheader(bb_get_option(&#38;#39;name&#38;#39;), &#38;#39;utf-8&#38;#39;) . &#38;#39;&#38;quot; &#38;lt;&#38;#39; . $from . &#38;#39;&#38;gt;&#38;#39;;
			//-------end edit----------
	}
	$headers = trim(join(defined(&#38;#39;BB_MAIL_EOL&#38;#39;) ? BB_MAIL_EOL : &#38;quot;\n&#38;quot;, $headers));
//	--------edit --added------------
	$subject = mb_encode_mimeheader($subject, &#38;#39;utf-8&#38;#39;, &#38;#39;B&#38;#39;, defined(&#38;#39;BB_MAIL_EOL&#38;#39;) ? BB_MAIL_EOL : &#38;quot;\n&#38;quot;);

//	--------end edit--------
	return @mail($to, $subject, $message, $headers);&#60;/code&#62;&#60;/pre&#62;</description>
</item>
<item>
<title>myu on "bb_mail for user registration"</title>
<link>http://bbpress.org/forums/topic/bb_mail-for-user-registration#post-19826</link>
<pubDate>Sat, 11 Oct 2008 14:01:09 +0000</pubDate>
<dc:creator>myu</dc:creator>
<guid isPermaLink="false">19826@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;hi,&#60;br /&#62;
tried the mb_encode_mimeheader() thing.. but can't get it to work as desired.  :(&#60;/p&#62;
&#60;p&#62;could i please get a bit more of instruction where to put it in with what parameter(s)?&#60;/p&#62;
&#60;p&#62;----what i have tried------&#60;br /&#62;
towards the end of function bb_mail() in bb-includes/pluggable.php&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;$headers = trim(join(defined(&#38;#39;BB_MAIL_EOL&#38;#39;) ? BB_MAIL_EOL : &#38;quot;\n&#38;quot;, $headers));

//--added--
$headers = mb_encode_mimeheader($headers, &#38;#39;utf-8&#38;#39;, &#38;#39;B&#38;#39;, defined(&#38;#39;BB_MAIL_EOL&#38;#39;) ? BB_MAIL_EOL : &#38;quot;\n&#38;quot;);
//--end add--

return @mail($to, $subject, $message, $headers);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Although it shows fine as it comes on my Apple Mail, as momo-i and somebody else mentioned, utf8 can get garbled...&#60;/p&#62;
&#60;p&#62;Thank you in advance
&#60;/p&#62;</description>
</item>
<item>
<title>Detective on "Howto activate a mo file for a plugin"</title>
<link>http://bbpress.org/forums/topic/howto-activate-a-mo-file-for-a-plugin#post-15942</link>
<pubDate>Sat, 03 May 2008 00:43:41 +0000</pubDate>
<dc:creator>Detective</dc:creator>
<guid isPermaLink="false">15942@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Hi, this works for me:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;add_action(&#38;#39;bb_init&#38;#39;, &#38;#39;pm_initialize&#38;#39;);

function pm_initialize() {
	load_plugin_textdomain(&#38;#39;bb-pm&#38;#39;, BB_PLUGIN_DIR . &#38;#39;private-messages&#38;#39;);
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Inside the folder &#60;code&#62;private-messages&#60;/code&#62; i have a file called bb-pm-es_ES.mo. As you can see, i use the locale &#60;code&#62;es_ES&#60;/code&#62;.
&#60;/p&#62;</description>
</item>
<item>
<title>anjap on "Howto activate a mo file for a plugin"</title>
<link>http://bbpress.org/forums/topic/howto-activate-a-mo-file-for-a-plugin#post-15744</link>
<pubDate>Thu, 24 Apr 2008 13:36:24 +0000</pubDate>
<dc:creator>anjap</dc:creator>
<guid isPermaLink="false">15744@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;I have used this tutorial to create a mo file for a plugin:&#60;br /&#62;
&#60;a href=&#34;http://weblogtoolscollection.com/archives/2007/08/27/localizing-a-wordpress-plugin-using-poedit/&#34; rel=&#34;nofollow&#34;&#62;http://weblogtoolscollection.com/archives/2007/08/27/localizing-a-wordpress-plugin-using-poedit/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;But I cann't activate it :-(&#60;/p&#62;
&#60;p&#62;I have found a old topic on this issue:&#60;br /&#62;
&#60;a href=&#34;http://bbpress.org/forums/topic/how-can-i-define-a-mo-file-for-a-plugin&#34; rel=&#34;nofollow&#34;&#62;http://bbpress.org/forums/topic/how-can-i-define-a-mo-file-for-a-plugin&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;But I cann't see how to &#34;name the mo files into our main mo file&#34;&#60;/p&#62;
&#60;p&#62;So can anyone tell me how to do this&#60;br /&#62;
(I'm using vers. 9.0.1)
&#60;/p&#62;</description>
</item>
<item>
<title>_ck_ on "non-english characters in email notification unreadable"</title>
<link>http://bbpress.org/forums/topic/non-english-characters-in-email-notification-unreadable#post-15431</link>
<pubDate>Wed, 16 Apr 2008 17:45:40 +0000</pubDate>
<dc:creator>_ck_</dc:creator>
<guid isPermaLink="false">15431@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;I think this post is related:&#60;br /&#62;
&#60;a href=&#34;http://bbpress.org/forums/topic/bb_mail-for-user-registration&#34; rel=&#34;nofollow&#34;&#62;http://bbpress.org/forums/topic/bb_mail-for-user-registration&#60;/a&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>_ck_ on "bb_mail for user registration"</title>
<link>http://bbpress.org/forums/topic/bb_mail-for-user-registration#post-15430</link>
<pubDate>Wed, 16 Apr 2008 17:43:43 +0000</pubDate>
<dc:creator>_ck_</dc:creator>
<guid isPermaLink="false">15430@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;I think this post is related:&#60;br /&#62;
&#60;a href=&#34;http://bbpress.org/forums/topic/non-english-characters-in-email-notification-unreadable&#34; rel=&#34;nofollow&#34;&#62;http://bbpress.org/forums/topic/non-english-characters-in-email-notification-unreadable&#60;/a&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>momo-i on "bb_mail for user registration"</title>
<link>http://bbpress.org/forums/topic/bb_mail-for-user-registration#post-15411</link>
<pubDate>Tue, 15 Apr 2008 22:38:36 +0000</pubDate>
<dc:creator>momo-i</dc:creator>
<guid isPermaLink="false">15411@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Hi all,&#60;/p&#62;
&#60;p&#62;I'm using this in Japanese. When the user is registered, mail is garbled. It seems that it is because the mail body is submitted with raw UTF8 (not MIME-encode) also this is because of mail in Japanese(encoded iso-2022-jp) being provided as shown in RFC1468.(See &#60;a href=&#34;http://www.ietf.org/rfc/rfc1468.txt&#34; rel=&#34;nofollow&#34;&#62;http://www.ietf.org/rfc/rfc1468.txt&#60;/a&#62;)&#60;br /&#62;
However, it is possible to display it even in Japanese with UTF8 normally by doing appropriate treatment. &#60;/p&#62;
&#60;p&#62;1. Add Content-Type header and etc.&#60;br /&#62;
    $headers[] = &#34;MIME-Version: 1.0&#34;;&#60;br /&#62;
    $headers[] = &#34;Content-Type: text/plain; Charset=UTF-8&#34;;&#60;br /&#62;
    $headers[] = &#34;Content-Transfer-Encoding: 8bit&#34;;&#60;/p&#62;
&#60;p&#62;2. MIME encodes the header.&#60;br /&#62;
    use mb_encode_mimeheader().&#60;br /&#62;
&#60;a href=&#34;http://www.php.net/manual/en/function.mb-encode-mimeheader.php&#34; rel=&#34;nofollow&#34;&#62;http://www.php.net/manual/en/function.mb-encode-mimeheader.php&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Regards,
&#60;/p&#62;</description>
</item>
<item>
<title>_ck_ on "non-english characters in email notification unreadable"</title>
<link>http://bbpress.org/forums/topic/non-english-characters-in-email-notification-unreadable#post-15402</link>
<pubDate>Tue, 15 Apr 2008 16:30:41 +0000</pubDate>
<dc:creator>_ck_</dc:creator>
<guid isPermaLink="false">15402@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Wow that language is amazing looking... in any case I think the i8n folks are going to be your best bet for help. I'll add some tags.
&#60;/p&#62;</description>
</item>
<item>
<title>ravidreams on "non-english characters in email notification unreadable"</title>
<link>http://bbpress.org/forums/topic/non-english-characters-in-email-notification-unreadable#post-15369</link>
<pubDate>Mon, 14 Apr 2008 19:34:10 +0000</pubDate>
<dc:creator>ravidreams</dc:creator>
<guid isPermaLink="false">15369@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;hi, i have a bbPress installation at &#60;a href=&#34;http://ravidreams.net/forum/&#34; rel=&#34;nofollow&#34;&#62;http://ravidreams.net/forum/&#60;/a&#62; . The main language of the forum is Tamil and when i get email notifications the characters in the subject line are unreadable..seems like some another language.. I am hosted by GoDaddy. Any solution?&#60;/p&#62;
&#60;p&#62;Thanks
&#60;/p&#62;</description>
</item>
<item>
<title>bruinfelix on "Dutch translation"</title>
<link>http://bbpress.org/forums/topic/dutch-translation-1#post-15360</link>
<pubDate>Mon, 14 Apr 2008 05:54:03 +0000</pubDate>
<dc:creator>bruinfelix</dc:creator>
<guid isPermaLink="false">15360@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;I'am currently working on a Dutch translation file for bbPress, zo maybe today, otherwise today it will be come available ;-)
&#60;/p&#62;</description>
</item>
<item>
<title>_ck_ on "Using foreign characters"</title>
<link>http://bbpress.org/forums/topic/using-foreign-characters#post-15342</link>
<pubDate>Sun, 13 Apr 2008 18:49:25 +0000</pubDate>
<dc:creator>_ck_</dc:creator>
<guid isPermaLink="false">15342@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;There used to be a plugin to do this:&#60;br /&#62;
&#60;a href=&#34;http://bbpress.org/plugins/topic/usernames-i18n-fix/&#34; rel=&#34;nofollow&#34;&#62;http://bbpress.org/plugins/topic/usernames-i18n-fix/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;but it won't work under 0.9 - instead see this:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://bbpress.org/forums/topic/diacritic-letters-i-username-like-goran#post-14205&#34; rel=&#34;nofollow&#34;&#62;http://bbpress.org/forums/topic/diacritic-letters-i-username-like-goran#post-14205&#60;/a&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>bloggsbe on "Norwegian translation"</title>
<link>http://bbpress.org/forums/topic/norwegian-translation-1#post-15304</link>
<pubDate>Sat, 12 Apr 2008 10:12:02 +0000</pubDate>
<dc:creator>bloggsbe</dc:creator>
<guid isPermaLink="false">15304@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;You can get a Norwegian translation of 0.9.0.1 &#60;a href=&#34;http://norsk.bloggs.be/&#34;&#62;here&#60;/a&#62;.&#60;/p&#62;
&#60;p&#62;Norsk oversettelse av bbPress 0.9.0.1 kan du finne &#60;a href=&#34;http://norsk.bloggs.be/&#34;&#62;her&#60;/a&#62;.&#60;/p&#62;
&#60;p&#62;--&#60;br /&#62;
Rune
&#60;/p&#62;</description>
</item>
<item>
<title>Joseelsantos on "Using foreign characters"</title>
<link>http://bbpress.org/forums/topic/using-foreign-characters#post-14016</link>
<pubDate>Sat, 23 Feb 2008 16:28:54 +0000</pubDate>
<dc:creator>Joseelsantos</dc:creator>
<guid isPermaLink="false">14016@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Hi there,&#60;/p&#62;
&#60;p&#62;Anyone know how to register users using foreign characters, such as Å, Ä or Ö?&#60;/p&#62;
&#60;p&#62;When users on my bbPress register, the name might be &#34;mårten&#34;, but will be added to database as &#34;mrten&#34; instead. &#60;/p&#62;
&#60;p&#62;Tips anyone?
&#60;/p&#62;</description>
</item>

</channel>
</rss>
