<?xml version='1.0' encoding='UTF-8'?>
<rss version='2.0'>
	<channel>
		<title>cotonti.com : Multilanguage and news plugin</title>
		<link>https://www.cotonti.com</link>
		<description>Последние сообщения в теме</description>
		<generator>Cotonti</generator>
		<language>en</language>
		<pubDate>Wed, 15 Apr 2026 13:24:59 -0000</pubDate>

		<item>
			<title>ez</title>
			<description><![CDATA[no prob..]]></description>
			<pubDate>ср, 10 ноя 2010 06:07:01 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ru/forums?m=posts&q=5870&d=0#post26939]]></link>
		</item>
		<item>
			<title>Trustmaster</title>
			<description><![CDATA[Sorry, I'm not posting any technical details on its implementation until the work is actually finished. It works on top of structure and pages without affecting them, as a plugin that stores i18n data in separate tables and provides interface for translation editing.]]></description>
			<pubDate>ср, 10 ноя 2010 05:47:23 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ru/forums?m=posts&q=5870&d=0#post26938]]></link>
		</item>
		<item>
			<title>ez</title>
			<description><![CDATA[I keep on busy with this multilanguage site... <img class="aux smiley" src="https://www.cotonti.com/./images/smilies/smile.gif" alt=":)" /><br />
<br />
I am now adding very nice stuff to the recentitems plugin. <br />
So this will become language aware (as I call it).. (optinal off course)<br />
<br />
But I am still wondering.... Why must I make these things.. <br />
Shouldn't this be in the standard cotonti package ??  (I mean this is NO rocket science I am making)<br />
<br />
What do others think off multilanguage in the default Cot ??<br />
<br />
<br />
I am asking this because I am making to much 'corehacks', so upgrading will be more difficult for me, and that is something I would like to avoid...<br /><br /><b>Added 56 days later:</b><br /><br />@Trustmaster:<br />
<br />
I see in the project tracker that you are starting Internationalization...  <img class="aux smiley" src="https://www.cotonti.com/./images/smilies/grin.gif" alt=":D" /> <br />
<br />
I have some things already made and some 'good' ideas.<br />
Maybe I can help ?]]></description>
			<pubDate>вт, 14 сен 2010 04:16:44 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ru/forums?m=posts&q=5870&d=0#post26082]]></link>
		</item>
		<item>
			<title>Kingsley</title>
			<description><![CDATA[Sick, this is nice.. will follow this closely <img class="aux smiley" src="https://www.cotonti.com/./images/smilies/grin.gif" alt=":D" />]]></description>
			<pubDate>чт, 09 сен 2010 21:29:43 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ru/forums?m=posts&q=5870&d=0#post26013]]></link>
		</item>
		<item>
			<title>ez</title>
			<description><![CDATA[Hi Gert,<br />
<br />
Tnx..I am already rewriting the news plugin for language support... <img class="aux smiley" src="https://www.cotonti.com/./images/smilies/wink.gif" alt=";)" /><br />
And got it to work!!<br />
<br />
Index Template (TPL):<br />
<pre class="code">
&lt;div class=&quot;block&quot;&gt;
 {INDEX_NEWS_NL_NL_NEWS}
 {INDEX_NEWS_EN_EN_NEWS}
&lt;/div&gt;
</pre>
<br />
In the news.php i do:<br />
<div class="highlight"><pre class="php">
  $ttmp=sed_get_news($v&#091;0&#093;, &quot;news.&quot;.$v&#091;0&#093;, $v&#091;1&#093;, $dadd, $v&#091;2&#093;);
  $t-&gt;assign(&quot;INDEX_NEWS_&quot;.strtoupper($v&#091;0&#093;), $ttmp);
  //sed_watch(&quot;INDEX_NEWS_&quot;.strtoupper($usr&#091;'lang'&#093;).&quot;_&quot;.strtoupper($v&#091;0&#093;), $ttmp);
  $t-&gt;assign(&quot;INDEX_NEWS_&quot;.strtoupper($usr&#091;'lang'&#093;).&quot;_&quot;.strtoupper($v&#091;0&#093;), $ttmp);
</pre></div>
<br />
My pagecategories are named:<br />
en_homepage<br />
en_news<br />
nl_homepage<br />
nl_news<br />
<br />
<span style="color:#CC0000">Notice the use of '_' instead of '-'<br />
It turned out that Xtemplate cannot use '-' in the assign ?????<br />
</span><br />
<br />
And I got separate tpl files for all separate news cats..<br />
You cannot use the rewrite rules from the i18n example.. it needs '_'. <br />
<br />
------------------------------------------------------------------------<br />
Good idea about the original news cat as a fallback, I will use that!<br />
<br />
Releasing it will be difficult, because i have a custom news plugin.. <br />
I use a half baked 0.9 news plugin with additional hooks and other stuff I changed.]]></description>
			<pubDate>чт, 09 сен 2010 17:35:05 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ru/forums?m=posts&q=5870&d=0#post26005]]></link>
		</item>
		<item>
			<title>GHengeveld</title>
			<description><![CDATA[Rewrite the news plugin I guess (and release it here). I think you should keep the news category as a fallback (the default language) and use 'en-news' if the user has english configured (dutch being the default) and just 'news' for dutch users. <br />
<br />
if (usr.lang != cfg.defaultlang) ...]]></description>
			<pubDate>чт, 09 сен 2010 16:09:04 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ru/forums?m=posts&q=5870&d=0#post26002]]></link>
		</item>
		<item>
			<title>ez</title>
			<description><![CDATA[Hi,<br />
<br />
I have a question...What if I want to use multilanguage news items.<br />
<br />
The news plugin lets you use {INDEX_NEWS}, but i really want something like<br />
{INDEX_{PHP.usr.lang}-news}  (if you get my drift.. <img class="aux smiley" src="https://www.cotonti.com/./images/smilies/smile.gif" alt=":)" /> )<br />
<br />
<br />
Where I have the following categories:<br />
<br />
nl-news<br />
en-news<br />
<br />
What is/are the best way(s) to solve this...<br />
<br />
tnx]]></description>
			<pubDate>чт, 09 сен 2010 05:11:47 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ru/forums?m=posts&q=5870&d=0#post25991]]></link>
		</item>
	</channel>
</rss>