It doesn't work that way. Bing translation API is available exclusively online as explained
here.
For offline translation you could try using an offline toolbox,
this one looks serious (to be honest I haven't tried it). Or just
making one yourself if you have the time and interest :3