On 05.02.2013 06:47, Michael Vehrs wrote: > On 04.02.2013 09:47, Michael T. Pope wrote: > >> On Mon, 4 Feb 2013 08:25:02 AM Michael Vehrs wrote: >> >> >>> The IzPack way is to write a desktop entry template for every supported >>> >> >>> language... However, there does not seem to be any way to include >>> >> multiple> languages in a single desktop entry file, although the >> standard clearly >> >> >>> supports this. >>> >> Quite so. A quick grep in /usr/share/applications turns up many >> examples of multilingual .desktop files. Here is the top of a small one. >> >> [Desktop Entry] >> >> Name=Audacity >> >> Name[de]=Audacity >> >> Name[ru]=Audacity >> >> GenericName=Sound Editor >> >> GenericName[de]=Audio-Editor >> >> GenericName[ru]=Редактор звуковых файлов >> >> Comment=Record and edit audio files with multitrack capability >> >> Comment[de]=Audio-Dateien aufnehmen und bearbeiten >> >> Comment[ru]=Запись и редактирование звуковых файлов >> >> >>> Unless I have missed some nook >>> >> >>> or cranny of the installation process, the only way to fix this is to >>> >> >>> rewrite the installer. I'm not yet sure whether this is feasible. >>> >> Can we generate a fully multilingual .desktop, but tell izPack to just >> install it as is? There must be some way of convincing it a file does >> not need i18n or it would be trying to translate the .jars:-). >> >> > The problem here is to convince the installer to put it in the right place. > > >> Either way, I do not think this feature merits rewriting the >> installer. We have harder FreeCol-specific problems. >> >> > I shouldn't have said rewrite. I merely meant to patch a single class. > However, I still have one idea how the installer might be tricked. >
Unfortunately, that didn't work. Unless I hear from the IzPack developers, the only viable option seems to be to patch com.izforge.izpack.util.os.Unix_Shortcut. However, this might not be worth the trouble, since not many Linux users are likely to be using the jar installer, I think. > >> Cheers, >> >> Mike Pope >> >> > > Regards > > Michael > ------------------------------------------------------------------------------ Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p.sf.net/sfu/sophos-d2d-feb _______________________________________________ Freecol-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/freecol-developers
