[3.2][WIP][ticket/12487] Remove legacy code

https://tracker.phpbb.com/browse/PHPBB3-12487

PHPBB3-12487
I second Bantu on this. We don't need to change these things specifically. Just make sure new merged code uses lang()