I've been looking at How can I build a language switcher? but I don't to hit the DB for each entry in the loop, just to get the entry's localised slug.
However I can't see a way to get an entry by ID with anything other than the current or a specific locale.
So assuming I'm on a template where we have an entry defined, this returns 1 entry in current locale:
craft.entries.id(entry.id);
And this returns 1 entry in a different locale:
craft.entries.id(entry.id).locale('es');
How can I get entries for ALL locales so I can do one DB query rather than one for every locale that's enabled on the site?