Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2015-10

App requiring lots of different localisations

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Mark Morgan Lloyd

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]

Reply by email