I want to get the pretty localized names of APT packages, such as "LibreOffice Writer" (and not libreoffice-writer
). I'm writing a script that needs this information.
I can get the localized description of a package using a command like apt show libreoffice-writer
. However, it does not show the localized title of the package. I can only find libreoffice-writer
as a name, I can't find LibreOffice Writer
in any of the fields that apt show
prints.
I know that this localized name is stored somewhere. Ubuntu's Update Manager is retrieving this name from somewhere, as you can see in this screenshot: