<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Tracmor Forum - Internalization]]></title>
		<link>http://www.tracmor.com/forum/topic/185/internalization/</link>
		<description><![CDATA[The most recent posts in Internalization.]]></description>
		<lastBuildDate>Mon, 28 Sep 2009 16:02:05 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Internalization]]></title>
			<link>http://www.tracmor.com/forum/post/578/#p578</link>
			<description><![CDATA[<p>Olivier,</p><p>It is great that you are working on internationalization of tracmor. Thank you for your willingness to contribute your work back to the community! Please open a ticket at <a href="http://code.google.com/p/tracmor/issues">http://code.google.com/p/tracmor/issues</a> (entitled something like &quot;Tracmor Internationalization&quot;) and attach your patch to the ticket. We will review the contribution and hopefully incorporate it in a future release. Thanks again!</p><p>Justin</p>]]></description>
			<author><![CDATA[null@example.com (jsinclair)]]></author>
			<pubDate>Mon, 28 Sep 2009 16:02:05 +0000</pubDate>
			<guid>http://www.tracmor.com/forum/post/578/#p578</guid>
		</item>
		<item>
			<title><![CDATA[Re: Internalization]]></title>
			<link>http://www.tracmor.com/forum/post/569/#p569</link>
			<description><![CDATA[<p>So far I&#039;ve &quot;internationalized&quot; :<br />- header / header menu<br />- shortcuts menu<br />- asset search</p><p>and created a patch against tracmor-0.2.0 tarball which I can send you if you which.</p>]]></description>
			<author><![CDATA[null@example.com (orochvilato)]]></author>
			<pubDate>Wed, 23 Sep 2009 03:37:43 +0000</pubDate>
			<guid>http://www.tracmor.com/forum/post/569/#p569</guid>
		</item>
		<item>
			<title><![CDATA[Internalization]]></title>
			<link>http://www.tracmor.com/forum/post/566/#p566</link>
			<description><![CDATA[<p>Hi,</p><p>I&#039;m planning to use Tracmor at work, but I need it in french. <br />So i&#039;ve started to modify the code to use QI18n from the Qcodo framework.</p><p>As a proof-of-concept i&#039;ve tried to translate the Asset page&#039;s shortcuts menu :<br />- In includes/data_classes/Shortcut.class.php :<br /> public function __toString() {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return sprintf(&#039;%s&#039;, <strong>QApplication::Translate(</strong>$this-&gt;strShortDescription<strong>)</strong>);</p><p>- I&#039;ve created a fr.po file in includes/qcodo/i18n with the translations</p><p>- I&#039;ve set up language and country settings in includes/prepend.inc.php<br />(near the end of file)<br /> if (QApplication::$LanguageCode)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; QI18n::Initialize();<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; else {<br /><strong>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; QApplication::$CountryCode = &#039;fr&#039;;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; QApplication::$LanguageCode = &#039;fr&#039;;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; QI18n::Initialize();</strong><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }</p><p>- Hit reload on my browser and ... IT WORKS !!</p><p>I will continue to internationalize strings&nbsp; in tracmor code, but i wish to contribute back my changes, how can I do ?</p><p>Greetings,</p><p>Olivier ROCH VILATO</p>]]></description>
			<author><![CDATA[null@example.com (orochvilato)]]></author>
			<pubDate>Mon, 21 Sep 2009 00:12:49 +0000</pubDate>
			<guid>http://www.tracmor.com/forum/post/566/#p566</guid>
		</item>
	</channel>
</rss>

