Translating .desktop files with a different suffix?

Luigi Toscano luigi.toscano at tiscali.it
Thu Mar 25 14:27:52 GMT 2021


Halla Rempt ha scritto:
> Hi,
> 
> We wanted to make tags translatable in Krita 5. In order to make that possible, we've created .tag files which follow the format of .desktop files:
> 
> 
> [Desktop Entry]
> Type=Tag
> Name=Digital
> ResourceType=paintoppreset
> Comment=Brush presets with a digital look and feel.
> URL=Digital
> Default Resources=a)_Eraser_Circle.kpp,b)_Basic-5_Size_default.kpp
> 
> I'm wondering how I can hook up these files to Messages.sh, or or make sure the files are processed like other .desktop files.
> 

Just define a script called ExtraDesktop.sh which returns the list of those files:

https://techbase.kde.org/Development/Tutorials/Localization/i18n_Build_Systems#Translating_.desktop_Files

Ciao
-- 
Luigi



More information about the kde-i18n-doc mailing list