Skip to content

Port: Add NormalizationForm and Language to ParatextProjectSettingsParser#436

Draft
Copilot wants to merge 2 commits into
masterfrom
copilot/port-add-normalization-form
Draft

Port: Add NormalizationForm and Language to ParatextProjectSettingsParser#436
Copilot wants to merge 2 commits into
masterfrom
copilot/port-add-normalization-form

Conversation

Copilot AI commented Jun 24, 2026

Copy link
Copy Markdown
Contributor

Ports machine.py#313 to C#. Adds NormalizationForm and Language fields parsed from Paratext Settings.xml to ParatextProjectSettings.

Changes

  • ParatextProjectSettings — New NormalizationForm and Language constructor parameters and properties
  • ParatextProjectSettingsParserBase — Parses <NormalizationForm> (default: "Undefined") and <Language> (default: "") from settings XML
  • DefaultParatextProjectSettings (test helper) — Added matching parameters with same defaults
  • Tests — Added NormalizationFormDefault test; updated parser test assertions for both new fields
var settings = new FileParatextProjectSettingsParser(projectDir).Parse();
Console.WriteLine(settings.NormalizationForm); // e.g. "NFC"
Console.WriteLine(settings.Language);          // e.g. "English"

This change is Reviewable

Copilot AI changed the title [WIP] Port normalization form and language to ParatextSettingsParser Port: Add NormalizationForm and Language to ParatextProjectSettingsParser Jun 24, 2026
Copilot AI requested a review from ddaspit June 24, 2026 20:29
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.

2 participants