Translations:Manual:ConvertExtensionToRegistration.php/20/en

Afterwards, you might still want to manually clean up these declarations inside the $1 file and add a call to $2 as detailed on Manual:Extension registration#Migration for extension developers.