<?xml version='1.0' encoding='UTF-8'?>
<rss version='2.0'>
	<channel>
		<title>cotonti.com : [Template] Plugin lang-file</title>
		<link>https://www.cotonti.com</link>
		<description>Last topic posts</description>
		<generator>Cotonti</generator>
		<language>en</language>
		<pubDate>Sat, 11 Apr 2026 13:45:11 -0000</pubDate>

		<item>
			<title>dervan</title>
			<description><![CDATA[IMO, it's need to check for legal running of code<br />
<br />
now used code like this:<br />
<pre class="code">
if (!defined('SED_CODE')) { die('Wrong URL.'); }
</pre>
but this code is not convenient to <a href="http://www.cotonti.com/articles/org/coding_style">Cotonti Coding Style</a><br />
<br />
conventional code:<br />
<pre class="code">
if (!defined('SED_CODE'))
{
	die('Wrong URL.');
}
</pre>
but this code is not compact<br />
<br />
compact code with the same check:<br />
<pre class="code">
defined('SED_CODE') or die('Wrong URL.');
</pre>
<br />
i suggest to add this check in template:<br />
<pre class="code">
&lt;?php
/**
 * LOCALE Language File for PLUG Plugin
 *
 * @package Cotonti
 * @version VERSION
 * @author Cotonti Translators Team
 * @copyright Copyright (c) 2008-2009 Cotonti Team
 * @license BSD
 */

defined('SED_CODE') or die('Wrong URL.');

/**
 * Plugin Title &amp; Subtitle
 */
</pre>]]></description>
			<pubDate>Fri, 20 Mar 2009 04:58:56 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/forums?m=posts&q=2387&d=0#post10213]]></link>
		</item>
		<item>
			<title>pieter</title>
			<description><![CDATA[Is there a way to download the latest updated version of the files in Trunk?<br />
<br />
I want to download this, to start from it to do the translation.<br />
If I do this, the structure is already OK.<br />
<br />
EDIT: founded on the bottom]]></description>
			<pubDate>Fri, 20 Mar 2009 03:20:23 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/forums?m=posts&q=2387&d=0#post10211]]></link>
		</item>
		<item>
			<title>Kort</title>
			<description><![CDATA[Apology accepted <img class="aux smiley" src="https://www.cotonti.com/./images/smilies/smile.gif" alt=":-)" /><br />
<br />
Template updated (check Revision History). Please update your localizations accordingly!]]></description>
			<pubDate>Thu, 19 Mar 2009 05:49:09 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/forums?m=posts&q=2387&d=0#post10189]]></link>
		</item>
		<item>
			<title>dervan</title>
			<description><![CDATA[sorry for my english :)]]></description>
			<pubDate>Thu, 19 Mar 2009 05:40:36 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/forums?m=posts&q=2387&d=0#post10188]]></link>
		</item>
		<item>
			<title>Dayver</title>
			<description><![CDATA[Sorry, in first post I do not understand you  .... in fact, I fully agree with you]]></description>
			<pubDate>Thu, 19 Mar 2009 05:34:45 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/forums?m=posts&q=2387&d=0#post10187]]></link>
		</item>
		<item>
			<title>dervan</title>
			<description><![CDATA[<blockquote><a href="https://www.cotonti.com/forums.php?m=posts&amp;p=10178#10178">#</a> <strong>Dayver :</strong>
I do not agree with you ....<br />
</blockquote>
why don't you agree? where i told that english should not be default?]]></description>
			<pubDate>Thu, 19 Mar 2009 04:51:43 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/forums?m=posts&q=2387&d=0#post10184]]></link>
		</item>
		<item>
			<title>Dayver</title>
			<description><![CDATA[<blockquote><a href="https://www.cotonti.com/forums.php?m=posts&amp;p=10172#10172">#</a> <strong>dervan :</strong>
my opinion for &quot;Plugin Config&quot; section: all english texts for config must be exists in &quot;setup&quot; plugin part, and it's necessary to repeat all these texts in &quot;Plugin Config&quot; section in english lang-file<br />
</blockquote>
I do not agree with you .... English Langpack should include these lines because all translations are from English as from default lang.]]></description>
			<pubDate>Thu, 19 Mar 2009 01:03:09 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/forums?m=posts&q=2387&d=0#post10178]]></link>
		</item>
		<item>
			<title>dervan</title>
			<description><![CDATA[my opinion for &quot;Plugin Config&quot; section: all english texts for config must be exists in &quot;setup&quot; plugin part, and it's necessary to repeat all these texts in &quot;Plugin Config&quot; section in english lang-file]]></description>
			<pubDate>Wed, 18 Mar 2009 22:15:04 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/forums?m=posts&q=2387&d=0#post10172]]></link>
		</item>
		<item>
			<title>Kort</title>
			<description><![CDATA[<pre class="code">&lt;?php
/**
 * LOCALE Language File for PLUG Plugin
 *
 * @package Cotonti
 * @version VERSION
 * @author Cotonti Translators Team
 * @copyright Copyright (c) 2008-2009 Cotonti Team
 * @license BSD
 */

/**
 * Plugin Title &amp; Subtitle
 */



/**
 * Plugin Body
 */



/**
 * Plugin Config
 */



?&gt;</pre>Ok, this is what we came up with for plugin translations.<br />
LOCALE - replace with the translation language (e.g. Dutch)<br />
PLUG - replace with the plugin name (e.g. ComEdit)<br />
VERSION - replace with the Cotonti version the language file is made for (it is a bit confusing for me, I'd rather put here plugin version, so I leave it for discussion -- like the template itself)<br />
<br />
<strong>Revision History:</strong><br />
19.03.2009 - changed <pre class="code">&lt;?PHP</pre>to<pre class="code">&lt;?php</pre>, fixed copyright notice.<br />
Thanks to <a href="https://www.cotonti.com/users/dervan">dervan</a>]]></description>
			<pubDate>Wed, 18 Mar 2009 20:08:22 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/forums?m=posts&q=2387&d=0#post10160]]></link>
		</item>
	</channel>
</rss>