<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
The SearchMan always adds "." to the search path as default, so if your bundle contains the translations.dat file I guess it will find it there(i.e your bundle is your current directory path). <br><br>Themes was initialized after localisation so that path was never search when loading. But small devices are not using external themes to a large exent anyhow. <br><br>Best regards<br>Lars<br><br><hr id="stopSpelling">Date: Thu, 23 Sep 2010 14:09:23 +0100<br>Subject: Re: [Scummvm-devel] Translation.dat<br>From: criezy@scummvm.org<br>To: larspp@hotmail.com<br>CC: scummvm-devel@lists.sourceforge.net<br><br>Hi Lars,<br><br>I see no problem with your change but I am a bit surprised because before that change it was already working fine on MacOS X and looking for the translations file inside the application bundle. I am not sure when that path is added to the SearchMan but I suppose it is done before system creation then. That seems strange.<br>
<br>Secondly, the translations file is supposed to be installed with the themes, and in addition to the SearchMan, it also looks into the theme path (and its sub-directories) for the translations file.<br><br>Thierry<br><br>
<div class="ecxgmail_quote">On 23 September 2010 12:19, Lars Persson <span dir="ltr"><<a href="mailto:larspp@hotmail.com">larspp@hotmail.com</a>></span> wrote:<br><blockquote class="ecxgmail_quote" style="padding-left: 1ex;">
<div>
Hi! Ok.. found one function missing in symbian version to register the
system wide folder, but it could n't be used until the system had been
created so I moved the init of the translation manager to after system
creation. Seems to work fine. <br><br>Cheers<br><br><hr>From: <a href="mailto:larspp@hotmail.com">larspp@hotmail.com</a><br>CC: <a href="mailto:scummvm-devel@lists.sourceforge.net">scummvm-devel@lists.sourceforge.net</a><br>
Date: Thu, 23 Sep 2010 10:03:56 +0000<br>Subject: Re: [Scummvm-devel] Translation.dat<div><div></div><div class="h5"><br><br>
Hi!<br>Even though the code is commented with "using searchman to find translations.dat" it does n't do much good since the only path available in searchman at the time of loading the translations is "."<br>
<br>In Symbian I would use the extrapath OR config path to load the translations.dat, but then it has to be added to the SearchMan before creating the TranslationManager.<br>That will surely fix any problems we have with loading the translations.dat.<br>
<br>Cheers<br>Lars<br>
<br></div></div>------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
<a href="http://p.sf.net/sfu/novell-sfdev2dev" target="_blank">http://p.sf.net/sfu/novell-sfdev2dev</a><br>_______________________________________________
Scummvm-devel mailing list
<a href="mailto:Scummvm-devel@lists.sourceforge.net">Scummvm-devel@lists.sourceforge.net</a>
<a href="https://lists.sourceforge.net/lists/listinfo/scummvm-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/scummvm-devel</a> </div>
<br>------------------------------------------------------------------------------<br>
Start uncovering the many advantages of virtual appliances<br>
and start using them to simplify application deployment and<br>
accelerate your shift to cloud computing.<br>
<a href="http://p.sf.net/sfu/novell-sfdev2dev" target="_blank">http://p.sf.net/sfu/novell-sfdev2dev</a><br>_______________________________________________<br>
Scummvm-devel mailing list<br>
<a href="mailto:Scummvm-devel@lists.sourceforge.net">Scummvm-devel@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/scummvm-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/scummvm-devel</a><br>
<br></blockquote></div><br> </body>
</html>