Use single quotes, so you dont need to escape the double quotes:
`$l->t('App "%s" can't be installed because it is not compatible with this version of ownCloud.',`