<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[vldPersonals Forum - Little question: about the hardcoded language]]></title>
		<link>http://www.vldpersonals.com/forum/topic/272/little-question-about-the-hardcoded-language/</link>
		<description><![CDATA[The most recent posts in Little question: about the hardcoded language.]]></description>
		<lastBuildDate>Mon, 14 Aug 2006 19:32:35 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Little question: about the hardcoded language]]></title>
			<link>http://www.vldpersonals.com/forum/post/1166/#p1166</link>
			<description><![CDATA[<p>Exactly. However you will have to keep it organized. For example if you are editing &quot;member_profile.tpl&quot;, you should edit the language file called &quot;lang.lib.member.php&quot; and then use it like this {lang:&quot;member&quot;,&quot;some_string&quot;}. In order to find out which language file each template uses, simply look at existing definitions in that template. If it contains something like {lang:&quot;register&quot;,&quot;username&quot;}, then the language file you should be editing is &quot;lang.lib.register.php&quot;.</p>]]></description>
			<author><![CDATA[dummy@example.com (vlad)]]></author>
			<pubDate>Mon, 14 Aug 2006 19:32:35 +0000</pubDate>
			<guid>http://www.vldpersonals.com/forum/post/1166/#p1166</guid>
		</item>
		<item>
			<title><![CDATA[Re: Little question: about the hardcoded language]]></title>
			<link>http://www.vldpersonals.com/forum/post/1165/#p1165</link>
			<description><![CDATA[<p>so i guess if someone wants to do it, he would have to do something like this:</p><p>- Put the words in lang.lib.home.tpl<br /></p><div class="codebox"><pre><code>// labels
&quot;bodytype&quot; =&gt;
&quot;Lichaamsbouw&quot;,

&quot;Height&quot; =&gt;
&quot;Lengte&quot;,</code></pre></div><p>- and then call them in home.tpl<br /></p><div class="codebox"><pre><code>&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;tr&gt;
&lt;td&gt;{lang:&quot;home&quot;,&quot;bodytype&quot;}&lt;/td&gt;
&lt;td&gt;{bodytype}&lt;/td&gt;

&lt;/tr&gt;&lt;tr&gt;

&lt;td&gt;&gt;{lang:&quot;home&quot;,&quot;Height&quot;}&lt;/td&gt;
&lt;td&gt;{height}&lt;/td&gt;&lt;/tr&gt;</code></pre></div><p>And that for all the languages.</p>]]></description>
			<author><![CDATA[dummy@example.com (JKoelman)]]></author>
			<pubDate>Mon, 14 Aug 2006 18:41:01 +0000</pubDate>
			<guid>http://www.vldpersonals.com/forum/post/1165/#p1165</guid>
		</item>
		<item>
			<title><![CDATA[Re: Little question: about the hardcoded language]]></title>
			<link>http://www.vldpersonals.com/forum/post/1164/#p1164</link>
			<description><![CDATA[<p>Yes, you can either translate them right on the page or add them to the language pack and call it from there.</p>]]></description>
			<author><![CDATA[dummy@example.com (vlad)]]></author>
			<pubDate>Mon, 14 Aug 2006 18:15:51 +0000</pubDate>
			<guid>http://www.vldpersonals.com/forum/post/1164/#p1164</guid>
		</item>
		<item>
			<title><![CDATA[Re: Little question: about the hardcoded language]]></title>
			<link>http://www.vldpersonals.com/forum/post/1163/#p1163</link>
			<description><![CDATA[<p>ok..</p><p>but if you&#039;ve some other language then english, then the home.tpl will still show the english names in that case?.</p><p>In my case i changed all the field names to the dutch language, but i guess there are a lot who will have the same &quot;problem&quot;.&nbsp; </p><p>Is it possible to also change those values? <br />-&gt; (the same way like the tags)</p>]]></description>
			<author><![CDATA[dummy@example.com (JKoelman)]]></author>
			<pubDate>Mon, 14 Aug 2006 18:03:12 +0000</pubDate>
			<guid>http://www.vldpersonals.com/forum/post/1163/#p1163</guid>
		</item>
		<item>
			<title><![CDATA[Re: Little question: about the hardcoded language]]></title>
			<link>http://www.vldpersonals.com/forum/post/1162/#p1162</link>
			<description><![CDATA[<p>&quot;{bodytype}&quot; in this case is a &quot;tag&quot; which gets replaced by an actual field value. A hard coded &quot;Body type&quot; text is the name of this field.</p>]]></description>
			<author><![CDATA[dummy@example.com (vlad)]]></author>
			<pubDate>Mon, 14 Aug 2006 17:01:19 +0000</pubDate>
			<guid>http://www.vldpersonals.com/forum/post/1162/#p1162</guid>
		</item>
		<item>
			<title><![CDATA[Little question: about the hardcoded language]]></title>
			<link>http://www.vldpersonals.com/forum/post/1161/#p1161</link>
			<description><![CDATA[<p>I&#039;m just wondering about the hardcoded language words in the files like home.tpl.</p><p>Why is the text of contentlabel hardcoded, and contentSummary not? </p><br /><div class="codebox"><pre><code>&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;
&lt;tr&gt;
&lt;td&gt;&lt;div class=&quot;contentLabel&quot;&gt;Body type&lt;/div&gt;&lt;/td&gt;
&lt;td&gt;&lt;div class=&quot;contentSummary&quot;&gt;{bodytype}&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (JKoelman)]]></author>
			<pubDate>Mon, 14 Aug 2006 16:46:05 +0000</pubDate>
			<guid>http://www.vldpersonals.com/forum/post/1161/#p1161</guid>
		</item>
	</channel>
</rss>
