How do I get localized names of application in python?
- by Mystic-Mirage
This code gives me only English application name if .desktop file does not have "Name[*]" options (like in totem.desktop) but only "X-Ubuntu-Gettext-Domain: totem":
from gi.repository import Gio
app = Gio.app_info_get_default_for_type('video/x-flv', True)
print app.get_name()
This like code gives me proper result for vlc.desktop.
Ubuntu Dash shows proper localized names for all applications.
How do I get localized names of application in python?
Sorry for my English.