Skip to content

[WiX 5] Update LSS for localization#16036

Merged
joeloff merged 6 commits intodotnet:mainfrom
joeloff:wxl
Aug 13, 2025
Merged

[WiX 5] Update LSS for localization#16036
joeloff merged 6 commits intodotnet:mainfrom
joeloff:wxl

Conversation

@joeloff
Copy link
Copy Markdown
Member

@joeloff joeloff commented Aug 8, 2025

Schema for .wxl files changed in v5. OneLoc already has an updated settings file for the XML parser (210). We just need to include it in the generate localization project. See this workitem

Running locally, this now generates the following section

{
    "LanguageSet":  "VS_Main_Languages",
    "CloneLanguageSet":  "WiX_CloneLanguages",
    "LocItems":  [
        {
            "SourceFile":  ".\\Layout\\pkg\\windows\\bundles\\sdk\\LCID\\bundle.wxl",
            "CopyOption":  "LangIDOnPath",
            "OutputPath":  ".\\Layout\\pkg\\windows\\bundles\\sdk\\LCID\\"
        }
    ],
    "LssFiles":  [
        "P210WxlSchemaV4.lss"
    ]
},

Fixes #16039

Note: Having multiple LSS files is not supported. The change splits out the .wxl files into v3 and v5.

@joeloff joeloff requested review from marcpopMSFT and mmitche August 8, 2025 23:13
@joeloff
Copy link
Copy Markdown
Member Author

joeloff commented Aug 11, 2025

I'm testing a private build for the SDK to verify the LCGs for the .wxl files using v5 are correct.

@joeloff
Copy link
Copy Markdown
Member Author

joeloff commented Aug 11, 2025

Needed to have mirrors in public and internal for testing this. Sample LCT

@joeloff
Copy link
Copy Markdown
Member Author

joeloff commented Aug 12, 2025

Here's a link to a new LCG

MiYanni
MiYanni previously approved these changes Aug 12, 2025
Comment thread eng/common/generate-locproject.ps1 Outdated
Comment thread eng/common/generate-locproject.ps1 Outdated
Comment thread eng/common/generate-locproject.ps1 Outdated
Comment thread eng/common/generate-locproject.ps1 Outdated
Comment thread eng/common/generate-locproject.ps1
@joeloff joeloff merged commit 65791e1 into dotnet:main Aug 13, 2025
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Wix 5] Update parser settings for localization

2 participants