Localization of custom value tags in AppStream data

Ingo Klöcker kloecker at kde.org
Wed Jun 28 10:08:41 BST 2023


[I first sent this to the Matrix room, but it's probably better to discuss this 
here.]

Hi,

what would need to be done to localize the custom value tags in AppStream 
data?

The concrete use case is adding Windows-specific screenshots including captions 
as custom value tags to AppStream data. See
https://invent.kde.org/network/neochat/-/merge_requests/1053
for an example and more details on the why.

I know that the JSON-converter for the AppStream data (used for apps.kde.org) 
would need to be changed. I suppose the script that extracts the strings to 
translate also needs to get support for custom values.

Would it make sense to mark translatable custom values somehow, so that only 
those are extracted? Maybe with xml:lang="C"? Or xml:lang="en"?

Regards,
Ingo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-i18n-doc/attachments/20230628/f6b843b9/attachment.sig>


More information about the kde-i18n-doc mailing list