<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Tracmor Forum - Internalization]]></title>
	<link rel="self" href="http://www.tracmor.com/forum/feed/atom/topic/185/"/>
	<updated>2009-09-28T16:02:05Z</updated>
	<generator>PunBB</generator>
	<id>http://www.tracmor.com/forum/topic/185/internalization/</id>
		<entry>
			<title type="html"><![CDATA[Re: Internalization]]></title>
			<link rel="alternate" href="http://www.tracmor.com/forum/post/578/#p578"/>
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[jsinclair]]></name>
				<uri>http://www.tracmor.com/forum/user/16/</uri>
			</author>
			<updated>2009-09-28T16:02:05Z</updated>
			<id>http://www.tracmor.com/forum/post/578/#p578</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Internalization]]></title>
			<link rel="alternate" href="http://www.tracmor.com/forum/post/569/#p569"/>
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[orochvilato]]></name>
				<uri>http://www.tracmor.com/forum/user/169/</uri>
			</author>
			<updated>2009-09-23T03:37:43Z</updated>
			<id>http://www.tracmor.com/forum/post/569/#p569</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Internalization]]></title>
			<link rel="alternate" href="http://www.tracmor.com/forum/post/566/#p566"/>
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[orochvilato]]></name>
				<uri>http://www.tracmor.com/forum/user/169/</uri>
			</author>
			<updated>2009-09-21T00:12:49Z</updated>
			<id>http://www.tracmor.com/forum/post/566/#p566</id>
		</entry>
</feed>

