I am in the process of creating a package which adds checklists to an existing aircraft, but I'm having trouble referencing strings provided in my package's locPak files in the checklist XML. Strings defined in the locPaks in the fs-base package resolve correctly but I'm unable to get any other string to display as expected.
For example:
<my-package>\en-US.locPak:
{ "LocalisationPackage": { "Language": "en-US", "Strings": { "GAME.CHECKLIST_MY_CHECKLIST_ITEM": "Checklist Item" } } }
<my-package>\SimObjects\Airplanes\AirplaneType\Checklist\Checklist.xml
<?xml version="1.0" encoding="UTF-8"?> <SimBase.Document Type="Checklist" version="1,0"> <Checklist.Checklist> <IncludeCheckpointLibrary FileName="CheckpointsLibrary\\Asobo_DefaultCheckpointLibrary.xml"/> <Step ChecklistStepId="PREFLIGHT_GATE"> <Page SubjectTT="TT:GAME.CHECKLIST_PREFLIGHT_INSPECTION"> <Checkpoint Id="CHECKPOINT_TEST"> <CheckpointDesc SubjectTT="TT:GAME.CHECKLIST_MY_CHECKLIST_ITEM" ExpectationTT="TT:GAME.CHECKLIST_NORMAL"/> </Checkpoint> </Page> </Step> <Checklist.Checklist> </SimBase.Document>
The result of this setup in the checklist window is the following:
Preflight inspection
GAME.CHECKLIST_MY_CHECKLIST_ITEM - - - - - - - - - - - - - - - - - Normal
The two strings defined in the fs-base package are correctly resolved (the page title and the expectation text) but the subject text is not correctly resolved.
Is this behaviour that is expected to work? Am I missing something from my setup here?