Up: Desktop Entry   [Contents][Index]


16.2.3.1 How to handle icons in Desktop Entry files

Icons are generally locale dependent, for the following reasons:

However, icons are not covered by GNU gettext localization, because

Desktop Entry files may contain an ‘Icon’ property, and this property is localizable. If a translator wishes to localize an icon, she should do so by bypassing the normal workflow with PO files:

  1. The translator contacts the package developers directly, sending them the icon appropriate for her locale, with a request to change the template file.
  2. The package developers add the icon file to their repository, and a line
    Icon[locale]=icon_file_name
    

    to the template file.

This line remains in place when this template file is merged with the translators’ PO files, through msgfmt.