Translation of Text in CodeUnits

How is Text translation in CodeUnits being handled?

For instance, some has an event subscriber like this:

    [EventSubscriber(ObjectType::Page, Page::"Task List", 'OnBeforeCaption', '', true, true)]

    local procedure Caption(var CaptionStr: Text)

    begin

        CaptionStr := 'Task List';

    end;

and wants to have the CaptionStr translated?
Is there NAB support available for that translation topic?

Thanks!

Ok, it’s easily done:

[EventSubscriber(ObjectType::Page, Page::“Task List”, ‘OnBeforeCaption’, ‘’, true, true)]
local procedure Caption(var CaptionStr: Text)
var
MyCaptionlbl: Label ‘Task List’;
begin
CaptionStr := MyCaptionlbl;
end;