PortableApps - PAF lazarus / 8-Other ---------------------------------------------------------------------- TheBlackSheep · 2011-07-19 14:15 I wrote a program recently which I think would be quite useful to a wider community - accordingly I thought I'd have a go at turning it into a "PortableApps" type application (obviously only for Win) -  I was following the guidelines for the PAF but got stuck with the location for the translation "po" files - I think (according to the spec) that these should go in a subdirectory called "Data" with any other application data (config and persistence storage files).  The DefaultTranslator unit by default doesn't try this path when looking for the PO files (understandably) so I'd need to modify this somehow to take into account an extra level of subfolders for it to look at. Obviously this isn't particulaly relevant for a Linux/Mac version although they could also certainly follow this convention without any particular inconvenience (an installer for these platforms would just need to create the sub-folders and put the files in there and the application could still be the same across all platforms without any specific per-platform configurations). I wondered if anyone else had build any PortableApp's and therefore come across similar issues and solutions (notably there is a PortableApps beta of the Lazarus IDE for example so I'm assuming this particular project must already have decided on what to do here). ---------------------------------------------------------------------- Takeda · 2011-08-03 23:37 Quote from: TheBlackSheep on July 19, 2011, 04:15:23 pmI wrote a program recently which I think would be quite useful to a wider community - accordingly I thought I'd have a go at turning it into a "PortableApps" type application (obviously only for Win) -  I was following the guidelines for the PAF but got stuck with the location for the translation "po" files - I think (according to the spec) that these should go in a subdirectory called "Data" with any other application data (config and persistence storage files).  The DefaultTranslator unit by default doesn't try this path when looking for the PO files (understandably) so I'd need to modify this somehow to take into account an extra level of subfolders for it to look at. Obviously this isn't particulaly relevant for a Linux/Mac version although they could also certainly follow this convention without any particular inconvenience (an installer for these platforms would just need to create the sub-folders and put the files in there and the application could still be the same across all platforms without any specific per-platform configurations). I wondered if anyone else had build any PortableApp's and therefore come across similar issues and solutions (notably there is a PortableApps beta of the Lazarus IDE for example so I'm assuming this particular project must already have decided on what to do here). Cool.. BTW, I already download it and I feel it good.. Somehow I need portable Lazarus coz sometime I'm too lazy to bring my laptop with me.. Regards, Takeda.