I have a blend file with multiple objects positioned side by side. This file is intended to be used as a library and I don't want to separate them in different files because they are simple variations of the same kind of object. I also created groups for every object (some of them are composed of other objects). This is something like this:

When I link an object from the previous file that is positioned at origin, it's created at the cursor position on the new file and I can rotate it around their own axis like this

But if I link another object from the previous file that is not at the origin on that file, their axis is not aligned with the object

How can I link it in a way that the linked object has the axis aligned with the object?
) of the object in the properties window and change the Mesh(
) to the linked Mesh.
