[arch-general] Initial AIF localization support (patch)