[INTERNAL] Refactorization of realign helper functions.
[DOX] Adding deprecation message to old reAlign() function.

Includes a fix such that links in @deprecated etc. are also translated.