<?xml version="1.0" encoding="UTF-8"?><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>Comments on: CodeIgniter Language File Translator</title>
	<atom:link href="http://www.mrkirkland.com/codeigniter-language-file-translator/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mrkirkland.com/codeigniter-language-file-translator/</link>
	<description>Web Development, Accessibility and Search Marketing</description>
	<pubDate>Sat, 05 Jul 2008 20:45:53 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>By: qhwa</title>
		<link>http://www.mrkirkland.com/codeigniter-language-file-translator/#comment-719</link>
		<dc:creator>qhwa</dc:creator>
		<pubDate>Sat, 31 May 2008 01:59:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.mrkirkland.com/codeigniter-language-file-translator/#comment-719</guid>
		<description>Nice work. I really love it!

If variables are wrapped in the language file, there will be some errors.

e.g. in freakauth language file:
[code]$lang['FAL_activation_email_body_message'] =
'Thank you for your new member registration.

To activate your new account, please visit the following URL in the next 24 hours:';[/code]

then in the tranlator interface, there will be an error message:

[code]Entry cannot be blank. Defaulted to master translation.
Mismatch - does not exist in master translation[/code]

If i submit the form without filling the input filed above the message, I will get none error message but the page refreshed (the same before I post). I checked the 'translator' controller and found why.

in the index function:

[code]elseif ( $this-&#62;validated &#38;&#38;  $this-&#62;input-&#62;post('SaveLang') ) {
				$this-&#62;data['page_content'] = 'translator/saveLang';
				$this-&#62;data['page_title'] = 'Confirm';
			}
			else {
				$this-&#62;data['page_content'] = 'translator/translateLang';
				$this-&#62;data['page_title'] = 'Translate ' . $this-&#62;langModule;
			}[/code]

the logic is not exactly right, if I post but failed in validation.

hope these are helpful for you.</description>
		<content:encoded><![CDATA[<p>Nice work. I really love it!</p>
<p>If variables are wrapped in the language file, there will be some errors.</p>
<p>e.g. in freakauth language file:<br />
[code]$lang['FAL_activation_email_body_message'] =<br />
&#8216;Thank you for your new member registration.</p>
<p>To activate your new account, please visit the following URL in the next 24 hours:&#8217;;[/code]</p>
<p>then in the tranlator interface, there will be an error message:</p>
<p>[code]Entry cannot be blank. Defaulted to master translation.<br />
Mismatch - does not exist in master translation[/code]</p>
<p>If i submit the form without filling the input filed above the message, I will get none error message but the page refreshed (the same before I post). I checked the &#8216;translator&#8217; controller and found why.</p>
<p>in the index function:</p>
<p>[code]elseif ( $this-&gt;validated &amp;&amp;  $this-&gt;input-&gt;post(&#8217;SaveLang&#8217;) ) {<br />
				$this-&gt;data['page_content'] = &#8216;translator/saveLang&#8217;;<br />
				$this-&gt;data['page_title'] = &#8216;Confirm&#8217;;<br />
			}<br />
			else {<br />
				$this-&gt;data['page_content'] = &#8216;translator/translateLang&#8217;;<br />
				$this-&gt;data['page_title'] = &#8216;Translate &#8216; . $this-&gt;langModule;<br />
			}[/code]</p>
<p>the logic is not exactly right, if I post but failed in validation.</p>
<p>hope these are helpful for you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marc</title>
		<link>http://www.mrkirkland.com/codeigniter-language-file-translator/#comment-650</link>
		<dc:creator>Marc</dc:creator>
		<pubDate>Sat, 24 May 2008 23:10:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.mrkirkland.com/codeigniter-language-file-translator/#comment-650</guid>
		<description>great work guys! it's really amazing.

take care,
marc</description>
		<content:encoded><![CDATA[<p>great work guys! it&#8217;s really amazing.</p>
<p>take care,<br />
marc</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mr Kirkland</title>
		<link>http://www.mrkirkland.com/codeigniter-language-file-translator/#comment-592</link>
		<dc:creator>Mr Kirkland</dc:creator>
		<pubDate>Mon, 19 May 2008 13:24:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.mrkirkland.com/codeigniter-language-file-translator/#comment-592</guid>
		<description>Looks like we broke the config reading bit with version 0.5.1. Will fix and update.

In the mean time, off the top of my head, around line 172 in the class constructor, this is the array you should change to the path for your language files:

&lt;code&gt;
  $this-&gt;langDirs = array( BASEPATH . 'language', APPPATH . 'language' );
&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>Looks like we broke the config reading bit with version 0.5.1. Will fix and update.</p>
<p>In the mean time, off the top of my head, around line 172 in the class constructor, this is the array you should change to the path for your language files:</p>
<p><code><br />
  $this->langDirs = array( BASEPATH . 'language', APPPATH . 'language' );<br />
</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jan</title>
		<link>http://www.mrkirkland.com/codeigniter-language-file-translator/#comment-591</link>
		<dc:creator>Jan</dc:creator>
		<pubDate>Mon, 19 May 2008 12:28:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.mrkirkland.com/codeigniter-language-file-translator/#comment-591</guid>
		<description>Heya,
really nice work and I love to use it, but I don't want to clutter my app with the translator files, so I created a standalone CI app for the translator and used the config/translator.php file to point it to my actual app's language dir, but it looks like the config params are never picked up. I started hacking the initialization of the translator controller with not much luck. Is it, and if, how ist it supposed to work?

Cheers
Jan
--</description>
		<content:encoded><![CDATA[<p>Heya,<br />
really nice work and I love to use it, but I don&#8217;t want to clutter my app with the translator files, so I created a standalone CI app for the translator and used the config/translator.php file to point it to my actual app&#8217;s language dir, but it looks like the config params are never picked up. I started hacking the initialization of the translator controller with not much luck. Is it, and if, how ist it supposed to work?</p>
<p>Cheers<br />
Jan<br />
&#8211;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: matt</title>
		<link>http://www.mrkirkland.com/codeigniter-language-file-translator/#comment-567</link>
		<dc:creator>matt</dc:creator>
		<pubDate>Wed, 14 May 2008 14:57:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.mrkirkland.com/codeigniter-language-file-translator/#comment-567</guid>
		<description>Hey nice; hope you posted to the CI forums - they'll love it!</description>
		<content:encoded><![CDATA[<p>Hey nice; hope you posted to the CI forums - they&#8217;ll love it!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Naruhodo &#187; Blog Archive &#187; Front End For Translating Codeigniter Language Files</title>
		<link>http://www.mrkirkland.com/codeigniter-language-file-translator/#comment-566</link>
		<dc:creator>Naruhodo &#187; Blog Archive &#187; Front End For Translating Codeigniter Language Files</dc:creator>
		<pubDate>Wed, 14 May 2008 07:03:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.mrkirkland.com/codeigniter-language-file-translator/#comment-566</guid>
		<description>[...] http://www.mrkirkland.com/codeigniter-language-file-translator/ [...]</description>
		<content:encoded><![CDATA[<p>[...] <a href="http://www.mrkirkland.com/codeigniter-language-file-translator/" rel="nofollow">http://www.mrkirkland.com/codeigniter-language-file-translator/</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Derek Allard</title>
		<link>http://www.mrkirkland.com/codeigniter-language-file-translator/#comment-564</link>
		<dc:creator>Derek Allard</dc:creator>
		<pubDate>Sat, 10 May 2008 13:40:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.mrkirkland.com/codeigniter-language-file-translator/#comment-564</guid>
		<description>Super Nice!  I love the simplicity and effectiveness of this.  Great work both!</description>
		<content:encoded><![CDATA[<p>Super Nice!  I love the simplicity and effectiveness of this.  Great work both!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
