[Lazarus] App requiring lots of different localisations
Mark Morgan Lloyd
markMLl.lazarus at telemetry.co.uk
Mon Oct 19 12:01:17 CEST 2015
From what I've seen so far, the Raspberry Pi (specifically, Raspbian
with the default desktop environments etc.) doesn't have a graphical
program to create a new .desktop file which can subsequently be
installed on the desktop or in the startup menu.
The thing that makes this non-trivial is that in order to do the job
properly the program would have to be able to set up a number of text
strings in the .desktop file using different character sets, which
presumably implies different IMEs etc. As an abbreviated example:
Name=Wireshark
Name[vi]=Wireshark
GenericName=Network Analyzer
GenericName[en_GB]=Network Analyser
GenericName[tr]=Ağ Analiz Programı
GenericName[uk]=Аналізатор мережі
GenericName[vi]=Trình phân tích mạng
Comment=Network traffic analyzer
Comment[fi]=Verkkoliikenne analysaattori
Comment[fr]=Analyseur de trafic réseau
Comment[sv]=Nätverkstrafikanalysator
Icon=hi48-app-wireshark.png
TryExec=wireshark
Exec=wireshark
Terminal=false
# Categorie entry according to version 1.0 of
# http://www.freedesktop.org/wiki/Specifications/menu-spec
Categories=GNOME;Network;
Encoding=UTF-8
I'm not necessarily volunteering to do the job, but is there an easy way
of handling all of this in a single Lazarus app? If so it might be a
useful showcase app.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
More information about the Lazarus
mailing list