Comment 2 for bug 1314402

Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote :

The proposed package installs two files per language in /usr/share/skype/lang. It works fine together with the current versions of available Skype clients for Linux, but there is a potential future issue: If a future version of the Skype client includes a translation in a language which is already installed via a skype-translation-* package, that translation won't be installed, since package files with the same names exist already. This is not the intention with skype-translation; its purpose is to provide translations that are not bundled with the Skype client.

My idea for a solution is to let skype-translation-* install the files somewhere else (in /usr/share/skype-translation) and put symlinks in /usr/share/skype/lang using maintainer scripts. That way, if a translation already installed by skype-translation-* is added to a future version of the Skype client, the symlinks will be overwritten, and the bundled translation will be used instead. Attached please find examples of the maintainer scripts I have in mind.