<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.2" -->
<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">
	<channel>
		<title>Форум &#187; Topic: Не получается подгрузить перевод плагина</title>
		<link>http://bbpress.ru/forum/topic/330</link>
		<description>Форум &raquo; Topic: Не получается подгрузить перевод плагина</description>
		<language>ru-RU-bb</language>
		<pubDate>Fri, 10 Feb 2012 11:18:21 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.2</generator>
		<textInput>
			<title><![CDATA[Поиск]]></title>
			<description><![CDATA[Поиск всех тем из этих форумов.]]></description>
			<name>q</name>
			<link>http://bbpress.ru/forum/search.php</link>
		</textInput>
		<atom:link href="http://bbpress.ru/forum/rss/topic/330" rel="self" type="application/rss+xml" />

		<item>
			<title>FreeMan   "Не получается подгрузить перевод плагина"</title>
			<link>http://bbpress.ru/forum/topic/330#post-1075</link>
			<pubDate> Пн, 17 May 2010 19:34:40 +0000</pubDate>
			<dc:creator>FreeMan</dc:creator>
			<guid isPermaLink="false">1075@http://bbpress.ru/forum/</guid>
			<description>&#60;p&#62;Пытаюсь следующим кодом у себя в плагине подгрузить перевод... Что я делаю не так? В папке плагина лежит mytextdomain-ru_RU.mo&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;function myplugin_init() {
     load_plugin_textdomain(&#38;#39;mytextdomain&#38;#39;, false, dirname(plugin_basename(__FILE__)));
}
add_action(&#38;#39;bb_init&#38;#39;, &#38;#39;myplugin_init&#38;#39;);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;В коде использую &#60;code&#62;__(&#38;quot;Hello world&#38;quot;,&#38;#39;mytextdomain&#38;#39;)&#60;/code&#62;
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>

