An even simpler workaround might be a wrapper script which reads $LANG and opens different sites accordingly. I cannot find any contraindications to make Exec key localized, though.
On Wed, Apr 18, 2012 at 11:46 PM, Jerome Leclanche <[email protected]>wrote: > > On Wed, Apr 18, 2012 at 2:06 PM, Yury G. Kudryashov <[email protected] > > wrote: > >> Ronny Standtke wrote: >> >> > Hi >> > >> > I provide desktop files with localized Exec fields to my users, e.g.: >> > Exec=firefox http://wiki.geogebra.org/en/ >> Offtopic: why force your users to use firefox? Isn't there a better >> 'Type'? >> Why not use xdg-open? >> >> Another solution: use forward on the site depending on the browser >> settings. >> -- >> Yury G. Kudryashov, >> mailto: [email protected] >> >> _______________________________________________ >> xdg mailing list >> [email protected] >> http://lists.freedesktop.org/mailman/listinfo/xdg >> > > > Maybe a simpler way would be the ability to pass the locale in the exec > key? As such: Exec=xdg-open http://%l.example.com/ > > > J. Leclanche > > > _______________________________________________ > xdg mailing list > [email protected] > http://lists.freedesktop.org/mailman/listinfo/xdg > >
_______________________________________________ xdg mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/xdg
