From 53973303470f043bd9cfacbbf162fb93b338f870 Mon Sep 17 00:00:00 2001 From: Pieter Viljoen Date: Tue, 1 Sep 2026 18:31:03 -0700 Subject: [PATCH 1/6] Bring the README Into the Fleet Structure Six audit findings against spec/readme-structure.md and spec/third-party-tools.json. - Renamed Use Cases to Overview, the declared name for that slot, which has no accepted aliases. - Moved Installation above Usage, the declared relative order. - Regenerated the Table of Contents for the rename and the move, and verified every anchor resolves to a heading. - Renamed [license-link] to [license]. It points at a path in this repository, and those carry a bare name with no suffix. - Regrouped the reference definitions into the five declared groups, Shields, Distribution, Repo, and External, replacing the four local group names. Each group is sorted by reference name alone. All 64 definitions are used and none is undefined. - Took the fleet catalog's description for all eleven shared tools, corrected the Nerdbank.GitVersioning link from the marketplace action to the project, and used the declared lead-in wording. The separator is a colon rather than a spaced hyphen, matching the shipped fleet adoption and the dash rule. Verified: the full Docker doc-lint set, the diff-scoped prose gate, and all three repo-gate checks. --- README.md | 150 +++++++++++++++++++++++++++--------------------------- 1 file changed, 75 insertions(+), 75 deletions(-) diff --git a/README.md b/README.md index 3616128..e8c62db 100644 --- a/README.md +++ b/README.md @@ -75,7 +75,8 @@ See [Usage](#usage) for detailed usage instructions. - [Release Notes](#release-notes) - [Getting Started](#getting-started) - [Table of Contents](#table-of-contents) - - [Use Cases](#use-cases) + - [Overview](#overview) + - [Installation](#installation) - [Usage](#usage) - [Tag Lookup](#tag-lookup) - [Tag Conversion](#tag-conversion) @@ -84,7 +85,6 @@ See [Usage](#usage) for detailed usage instructions. - [Tag Parser](#tag-parser) - [Tag Normalization](#tag-normalization) - [Tag Validation](#tag-validation) - - [Installation](#installation) - [Questions or Issues](#questions-or-issues) - [Build Artifacts](#build-artifacts) - [Contributing](#contributing) @@ -96,7 +96,7 @@ See [Usage](#usage) for detailed usage instructions. - [3rd Party Tools](#3rd-party-tools) - [License](#license) -## Use Cases +## Overview > **ℹ️ TL;DR**: > @@ -109,6 +109,38 @@ See [Usage](#usage) for detailed usage instructions. > - Refer to [Libraries](#libraries) for other known implementations. > - Refer to [References](#references) for specification details. +## Installation + +**Project integration**: + +```shell +# Add the package to your project +dotnet add package ptr727.LanguageTags +``` + +```csharp +// Include the namespace +using ptr727.LanguageTags; +``` + +**Debug log configuration**: + +```csharp +// Configure global logging (static override/factory) +using Microsoft.Extensions.Logging; +using ptr727.LanguageTags; +using Serilog; +using Serilog.Extensions.Logging; + +Log.Logger = new LoggerConfiguration() + .MinimumLevel.Debug() + .WriteTo.Debug() + .CreateLogger(); + +ILoggerFactory loggerFactory = new SerilogLoggerFactory(Log.Logger, dispose: true); +LogOptions.SetFactory(loggerFactory); +``` + ## Usage > **ℹ️ Note**: Refer to the [Tag Theory](#tag-theory) section for an overview of terms and theory of operation. @@ -370,38 +402,6 @@ bool isValid = languageTag.Validate(); // true isValid = languageTag.IsValid; // true ``` -## Installation - -**Project integration**: - -```shell -# Add the package to your project -dotnet add package ptr727.LanguageTags -``` - -```csharp -// Include the namespace -using ptr727.LanguageTags; -``` - -**Debug log configuration**: - -```csharp -// Configure global logging (static override/factory) -using Microsoft.Extensions.Logging; -using ptr727.LanguageTags; -using Serilog; -using Serilog.Extensions.Logging; - -Log.Logger = new LoggerConfiguration() - .MinimumLevel.Debug() - .WriteTo.Debug() - .CreateLogger(); - -ILoggerFactory loggerFactory = new SerilogLoggerFactory(Log.Logger, dispose: true); -LogOptions.SetFactory(loggerFactory); -``` - ## Questions or Issues **Tag testing**: @@ -553,79 +553,75 @@ LogOptions.SetFactory(loggerFactory); ## 3rd Party Tools -**3rd party tools used in this project**: +The third-party tools, libraries, and actions this project depends on. -- [AwesomeAssertions][awesomeassertions-link] -- [Create Pull Request][createpr-link] -- [CSharpier][csharpier-link] -- [GH Release][ghrelease-link] -- [Git Auto Commit][ghautocommit-link] -- [GitHub Actions][ghactions-link] -- [GitHub Dependabot][ghdependabot-link] -- [Husky.Net][huskynet-link] -- [Nerdbank.GitVersioning][nerbankgitversion-link] -- [Serilog][serilog-link] -- [xUnit.Net][xunit-link] +- [AwesomeAssertions][awesomeassertions-link]: Assertion library for .NET tests. +- [Create Pull Request][createpr-link]: GitHub action that opens a pull request from workspace changes. +- [CSharpier][csharpier-link]: C# code formatter. +- [GH Release][ghrelease-link]: GitHub action that creates a release. +- [Git Auto Commit][ghautocommit-link]: GitHub action that commits workspace changes. +- [GitHub Actions][ghactions-link]: CI and automation runner. +- [GitHub Dependabot][ghdependabot-link]: Dependency update bot. +- [Husky.Net][huskynet-link]: Git hook manager for .NET. +- [Nerdbank.GitVersioning][nerbankgitversion-link]: Version computation from git height. +- [Serilog][serilog-link]: Structured logging library for .NET. +- [xUnit.Net][xunit-link]: Test framework for .NET. ## License -Licensed under the [MIT License][license-link]\ +Licensed under the [MIT License][license]\ ![GitHub License][license-shield] - + -[actions-link]: https://github.com/ptr727/LanguageTags/actions -[commits-link]: https://github.com/ptr727/LanguageTags/commits/main -[discussions-link]: https://github.com/ptr727/LanguageTags/discussions -[github-link]: https://github.com/ptr727/LanguageTags -[issues-link]: https://github.com/ptr727/LanguageTags/issues [lastcommit-shield]: https://img.shields.io/github/last-commit/ptr727/LanguageTags?logo=github&label=Last%20Commit -[license-link]: ./LICENSE [license-shield]: https://img.shields.io/github/license/ptr727/LanguageTags?label=License -[nuget-link]: https://www.nuget.org/packages/ptr727.LanguageTags/ [nugetreleaseversion-shield]: https://img.shields.io/nuget/v/ptr727.LanguageTags?logo=nuget&label=NuGet%20Release [prereleaseversion-shield]: https://img.shields.io/github/v/release/ptr727/LanguageTags?include_prereleases&filter=*-g*&label=GitHub%20Pre-Release&logo=github [releasebuildstatus-shield]: https://img.shields.io/github/actions/workflow/status/ptr727/LanguageTags/publish-release.yml?logo=github&label=Releases%20Build -[releases-link]: https://github.com/ptr727/LanguageTags/releases [releaseversion-shield]: https://img.shields.io/github/v/release/ptr727/LanguageTags?logo=github&label=GitHub%20Release - + -[awesomeassertions-link]: https://awesomeassertions.org/ -[createpr-link]: https://github.com/marketplace/actions/create-pull-request -[csharpier-link]: https://csharpier.com/ -[ghactions-link]: https://github.com/actions -[ghautocommit-link]: https://github.com/marketplace/actions/git-auto-commit -[ghdependabot-link]: https://github.com/dependabot -[ghrelease-link]: https://github.com/marketplace/actions/gh-release -[huskynet-link]: https://alirezanet.github.io/Husky.Net/ -[nerbankgitversion-link]: https://github.com/marketplace/actions/nerdbank-gitversioning -[serilog-link]: https://serilog.net/ -[xunit-link]: https://xunit.net/ +[actions-link]: https://github.com/ptr727/LanguageTags/actions +[commits-link]: https://github.com/ptr727/LanguageTags/commits/main +[discussions-link]: https://github.com/ptr727/LanguageTags/discussions +[github-link]: https://github.com/ptr727/LanguageTags +[issues-link]: https://github.com/ptr727/LanguageTags/issues +[nuget-link]: https://www.nuget.org/packages/ptr727.LanguageTags/ +[releases-link]: https://github.com/ptr727/LanguageTags/releases - + -[iso6392source-link]: https://www.loc.gov/standards/iso639-2/ISO-639-2_utf-8.txt -[iso6393source-link]: https://iso639-3.sil.org/sites/iso639-3/files/downloads/iso-639-3.tab -[rfc5646source-link]: https://www.iana.org/assignments/language-subtag-registry/language-subtag-registry -[unm49source-link]: https://raw.githubusercontent.com/unicode-org/cldr/main/common/supplemental/supplementalData.xml +[license]: ./LICENSE - + [acceptlanguage-link]: https://www.rfc-editor.org/rfc/rfc9110.html#name-accept-language +[awesomeassertions-link]: https://awesomeassertions.org/ [bcp47-link]: https://www.rfc-editor.org/info/bcp47 [cldr-link]: https://cldr.unicode.org/ [contentlanguage-link]: https://www.rfc-editor.org/rfc/rfc9110.html#name-content-language +[createpr-link]: https://github.com/marketplace/actions/create-pull-request +[csharpier-link]: https://csharpier.com/ [dansmithlanguagetagssharp-link]: https://github.com/DanSmith/languagetags-sharp +[ghactions-link]: https://github.com/actions +[ghautocommit-link]: https://github.com/marketplace/actions/git-auto-commit +[ghdependabot-link]: https://github.com/dependabot +[ghrelease-link]: https://github.com/marketplace/actions/gh-release +[huskynet-link]: https://alirezanet.github.io/Husky.Net/ [ianatags-link]: https://www.iana.org/assignments/language-subtags-tags-extensions/language-subtags-tags-extensions.xhtml [ietflanguagetag-link]: https://en.wikipedia.org/wiki/IETF_language_tag [iso15924-link]: https://unicode.org/iso15924/iso15924-codes.html [iso31661-link]: https://en.wikipedia.org/wiki/ISO_3166-1 [iso6392-link]: https://www.loc.gov/standards/iso639-2/ +[iso6392source-link]: https://www.loc.gov/standards/iso639-2/ISO-639-2_utf-8.txt [iso6393-link]: https://iso639-3.sil.org/ +[iso6393source-link]: https://iso639-3.sil.org/sites/iso639-3/files/downloads/iso-639-3.tab [jkporterbcp47-link]: https://github.com/jkporter/bcp47 [matroskalanguage-link]: https://datatracker.ietf.org/doc/html/draft-ietf-cellar-matroska-07#name-language-codes [mattcglanguagesubtagregistry-link]: https://github.com/mattcg/language-subtag-registry +[nerbankgitversion-link]: https://github.com/dotnet/Nerdbank.GitVersioning [oxigraphoxilangtag-link]: https://github.com/oxigraph/oxilangtag [pyfischrustlanguagetags-link]: https://github.com/pyfisch/rust-language-tags/ [r12asubtags-link]: https://r12a.github.io/app-subtags/ @@ -642,8 +638,12 @@ Licensed under the [MIT License][license-link]\ [rfc5646section228-link]: https://www.rfc-editor.org/rfc/rfc5646#section-2.2.8 [rfc5646section229-link]: https://www.rfc-editor.org/rfc/rfc5646#section-2.2.9 [rfc5646section45-link]: https://www.rfc-editor.org/rfc/rfc5646#section-4.5 +[rfc5646source-link]: https://www.iana.org/assignments/language-subtag-registry/language-subtag-registry [rspeerlangcodes-link]: https://github.com/rspeer/langcodes +[serilog-link]: https://serilog.net/ [unm49-link]: https://unstats.un.org/unsd/methodology/m49/ +[unm49source-link]: https://raw.githubusercontent.com/unicode-org/cldr/main/common/supplemental/supplementalData.xml [w3cchoosingtag-link]: https://www.w3.org/International/questions/qa-choosing-language-tags [w3ctags-link]: https://www.w3.org/International/articles/language-tags/ [wikipediacodes-link]: https://en.wikipedia.org/wiki/Codes_for_constructed_languages +[xunit-link]: https://xunit.net/ From ca8b0181278a50ca535aefbd68e7b4f87fe64c22 Mon Sep 17 00:00:00 2001 From: Pieter Viljoen Date: Tue, 1 Sep 2026 22:00:33 -0700 Subject: [PATCH 2/6] Convert the Remaining Inline Links to Reference-Style The local strict review pass found 31 inline links surviving outside the Table of Contents and the code fences: 7 in-page anchors and 24 uses of 21 in-repo paths. The spec's Style section allows the Table of Contents as the single exception and requires reference-style everywhere else, and its Reference Links table declares the Sections group for in-page anchors and the Repo group for paths inside this repository, both bare with no suffix. The reviewer called this pre-existing and out of scope, which is true of the condition and not of this PR: bringing the README into the fleet structure is what this change is for, and leaving them inline would leave the file violating the rule the rest of the commit enforces. The definition block now carries all five declared groups. Verified that all 92 references resolve with none undefined and none orphaned, that every anchor matches a real heading, and that every repo path exists on disk. --- README.md | 75 +++++++++++++++++++++++++++++++++++++++---------------- 1 file changed, 53 insertions(+), 22 deletions(-) diff --git a/README.md b/README.md index e8c62db..dfcdcb5 100644 --- a/README.md +++ b/README.md @@ -28,9 +28,9 @@ C# .NET library for ISO 639-2, ISO 639-3, RFC 5646 / BCP 47 language tags. - Internal CI/CD rework, no library API changes. - Branch-scoped self-publishing workflows - Keyless OIDC NuGet publishing. - - Hardened repository configuration, see [WORKFLOW.md](./WORKFLOW.md). + - Hardened repository configuration, see [WORKFLOW.md][workflow]. -See [Release History](./HISTORY.md) for complete release notes and older versions. +See [Release History][history] for complete release notes and older versions. ## Getting Started @@ -64,7 +64,7 @@ Get started with LanguageTags in two easy steps: string tag = languageTag.ToString(); // "en-latn-gb-boont-r-extended-sequence-x-private" ``` -See [Usage](#usage) for detailed usage instructions. +See [Usage][usage] for detailed usage instructions. ## Table of Contents @@ -106,8 +106,8 @@ See [Usage](#usage) for detailed usage instructions. > **⚠️ Note**: The implemented language tag parsing and normalization logic may be incomplete or inaccurate. > > - Verify the results for your specific usage. -> - Refer to [Libraries](#libraries) for other known implementations. -> - Refer to [References](#references) for specification details. +> - Refer to [Libraries][libraries] for other known implementations. +> - Refer to [References][references] for specification details. ## Installation @@ -143,7 +143,7 @@ LogOptions.SetFactory(loggerFactory); ## Usage -> **ℹ️ Note**: Refer to the [Tag Theory](#tag-theory) section for an overview of terms and theory of operation. +> **ℹ️ Note**: Refer to the [Tag Theory][tag-theory] section for an overview of terms and theory of operation. ### Tag Lookup @@ -263,10 +263,10 @@ IEnumerable expanded = languageLookup.ExpandRegion("es-MX"); The `LanguageTagBuilder` class supports fluent builder style tag construction, and will return a constructed `LanguageTag` class through the final `Build()` or `Normalize()` methods. The `Build()` method will construct the tag, but will not perform any correctness validation or normalization.\ -Use the `Validate()` method to test for shape correctness. See [Tag Validation](#tag-validation) for details. +Use the `Validate()` method to test for shape correctness. See [Tag Validation][tag-validation] for details. The `Normalize()` method will build the tag and perform normalization only.\ -Use `Validate()` to check structural correctness. See [Tag Normalization](#tag-normalization) for details. +Use `Validate()` to check structural correctness. See [Tag Normalization][tag-normalization] for details. ```csharp LanguageTag languageTag = LanguageTag.CreateBuilder() @@ -309,7 +309,7 @@ Grandfathered tags will be converted to their current preferred form and parsed E.g. `en-gb-oed` -> `en-GB-oxendict`, `i-klingon` -> `tlh`. The `ParseAndNormalize()` method will parse the text tag and perform normalization.\ -See [Tag Normalization](#tag-normalization) for details. +See [Tag Normalization][tag-normalization] for details. ```csharp LanguageTag? languageTag = LanguageTag.Parse("en-latn-gb-boont-r-extended-sequence-x-private"); @@ -388,7 +388,7 @@ Note that `LanguageTag` objects created by `Parse()` or `Normalize()` are alread Validation includes the following: -- Subtag shape correctness, see [Format](#format) for a summary. +- Subtag shape correctness, see [Format][format] for a summary. - No duplicate variants, extension prefixes, extension tags, or private tags. - Does not validate subtag values against the registry or enforce the full grammar beyond these checks. @@ -407,7 +407,7 @@ isValid = languageTag.IsValid; // true **Tag testing**: - The [BCP47 language subtag lookup][r12asubtags-link] site offers convenient tag parsing and validation capabilities. -- Refer to the [unit tests](./LanguageTagsTests) for examples, do note that tests may pass but not be complete or accurate per the RFC spec. +- Refer to the [unit tests][tests-project] for examples, do note that tests may pass but not be complete or accurate per the RFC spec. **General questions**: @@ -423,16 +423,16 @@ isValid = languageTag.IsValid; // true **Build process and artifacts**: -- **[`LanguageTagsCreate`](./LanguageTagsCreate) project**: +- **[`LanguageTagsCreate`][codegen-project] project**: - Downloads language tag data files. - Converts the tag data into JSON files. - Generates C# records of the tags. -- **[`LanguageData`](./LanguageData/) directory**: - - ISO 639-2: [Source][iso6392source-link], [Data](./LanguageData/iso6392), [JSON](./LanguageData/iso6392.json), [Code](./LanguageTags/Iso6392DataGen.cs) - - ISO 639-3: [Source][iso6393source-link], [Data](./LanguageData/iso6393), [JSON](./LanguageData/iso6393.json), [Code](./LanguageTags/Iso6393DataGen.cs) - - RFC 5646 : [Source][rfc5646source-link], [Data](./LanguageData/rfc5646), [JSON](./LanguageData/rfc5646.json), [Code](./LanguageTags/Rfc5646DataGen.cs) - - UN M.49 : [Source][unm49source-link], [Data](./LanguageData/unm49), [JSON](./LanguageData/unm49.json), [Code](./LanguageTags/UnM49DataGen.cs) -- A daily [GitHub Actions](./.github/workflows/run-periodic-codegen-pull-request.yml) job opens PRs to keep the data files up to date. +- **[`LanguageData`][language-data] directory**: + - ISO 639-2: [Source][iso6392source-link], [Data][iso6392-data], [JSON][iso6392-json], [Code][iso6392-code] + - ISO 639-3: [Source][iso6393source-link], [Data][iso6393-data], [JSON][iso6393-json], [Code][iso6393-code] + - RFC 5646 : [Source][rfc5646source-link], [Data][rfc5646-data], [JSON][rfc5646-json], [Code][rfc5646-code] + - UN M.49 : [Source][unm49source-link], [Data][unm49-data], [JSON][unm49-json], [Code][unm49-code] +- A daily [GitHub Actions][codegen-workflow] job opens PRs to keep the data files up to date. ## Contributing @@ -441,15 +441,15 @@ isValid = languageTag.IsValid; // true - Feature branch -> `develop` via **squash merge** (develop is kept linear). - `develop` -> `main` via **merge commit** (preserves develop's commit list on main as the second parent of each release commit). - Dependabot and the daily codegen workflow both target `main` and `develop` in parallel via separate PRs. - - See [`WORKFLOW.md`](./WORKFLOW.md) for complete details. + - See [`WORKFLOW.md`][workflow] for complete details. - **Code style**: - - See [`CODESTYLE.md`](./CODESTYLE.md) and [`.editorconfig`](./.editorconfig) for C# code style rules. + - See [`CODESTYLE.md`][codestyle] and [`.editorconfig`][editorconfig] for C# code style rules. - **Repository setup**: - - See [`AUDIT.md`](./AUDIT.md) for how repository settings, rulesets, and secrets are checked. + - See [`AUDIT.md`][audit] for how repository settings, rulesets, and secrets are checked. ## Tag Theory -> **ℹ️ Note**: Refer to [References](#references) for complete specification details. +> **ℹ️ Note**: Refer to [References][references] for complete specification details. ### Terminology @@ -572,6 +572,16 @@ The third-party tools, libraries, and actions this project depends on. Licensed under the [MIT License][license]\ ![GitHub License][license-shield] + + +[format]: #format +[libraries]: #libraries +[references]: #references +[tag-normalization]: #tag-normalization +[tag-theory]: #tag-theory +[tag-validation]: #tag-validation +[usage]: #usage + [lastcommit-shield]: https://img.shields.io/github/last-commit/ptr727/LanguageTags?logo=github&label=Last%20Commit @@ -593,7 +603,28 @@ Licensed under the [MIT License][license]\ +[audit]: ./AUDIT.md +[codegen-project]: ./LanguageTagsCreate +[codegen-workflow]: ./.github/workflows/run-periodic-codegen-pull-request.yml +[codestyle]: ./CODESTYLE.md +[editorconfig]: ./.editorconfig +[history]: ./HISTORY.md +[iso6392-code]: ./LanguageTags/Iso6392DataGen.cs +[iso6392-data]: ./LanguageData/iso6392 +[iso6392-json]: ./LanguageData/iso6392.json +[iso6393-code]: ./LanguageTags/Iso6393DataGen.cs +[iso6393-data]: ./LanguageData/iso6393 +[iso6393-json]: ./LanguageData/iso6393.json +[language-data]: ./LanguageData/ [license]: ./LICENSE +[rfc5646-code]: ./LanguageTags/Rfc5646DataGen.cs +[rfc5646-data]: ./LanguageData/rfc5646 +[rfc5646-json]: ./LanguageData/rfc5646.json +[tests-project]: ./LanguageTagsTests +[unm49-code]: ./LanguageTags/UnM49DataGen.cs +[unm49-data]: ./LanguageData/unm49 +[unm49-json]: ./LanguageData/unm49.json +[workflow]: ./WORKFLOW.md From d65103524132f172224a91e2e298e4a8d03664bb Mon Sep 17 00:00:00 2001 From: Pieter Viljoen Date: Tue, 1 Sep 2026 22:02:04 -0700 Subject: [PATCH 3/6] Replace the Emoji Callout Markers With ASCII Labels Converting the last inline links pulled two pre-existing callout lines into the prose gate's diff scope, where their emoji fail as unclassified characters: INFORMATION SOURCE (U+2139) and VARIATION SELECTOR-16 (U+FE0F) sit in no tier, and the tiers live in a verbatim carried section this repo cannot extend. Fixed all seven rather than the two in scope. Fixing only those would leave one file carrying two callout styles, and would leave the same failure waiting for whichever change next touches one of the other five lines. The warning callout keeps its distinction from the notes by taking the label Warning rather than Note, which is the only signal its emoji was carrying. README.md is now pure ASCII. --- README.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index dfcdcb5..762b158 100644 --- a/README.md +++ b/README.md @@ -98,12 +98,12 @@ See [Usage][usage] for detailed usage instructions. ## Overview -> **ℹ️ TL;DR**: +> **TL;DR**: > > - Catalog of ISO 639-2, ISO 639-3, RFC 5646 language tags in JSON and C# record format. > - Code for IETF BCP 47 language tag construction and parsing per the RFC 5646 semantic rules. > -> **⚠️ Note**: The implemented language tag parsing and normalization logic may be incomplete or inaccurate. +> **Warning**: The implemented language tag parsing and normalization logic may be incomplete or inaccurate. > > - Verify the results for your specific usage. > - Refer to [Libraries][libraries] for other known implementations. @@ -143,7 +143,7 @@ LogOptions.SetFactory(loggerFactory); ## Usage -> **ℹ️ Note**: Refer to the [Tag Theory][tag-theory] section for an overview of terms and theory of operation. +> **Note**: Refer to the [Tag Theory][tag-theory] section for an overview of terms and theory of operation. ### Tag Lookup @@ -211,7 +211,7 @@ iso = languageLookup.GetIsoFromIetf("cmn-Hant"); // "chi" Tag matching can be used to select content based on preferred vs. available languages. -> **ℹ️ Examples**: +> **Examples**: > > - HTTP [`Accept-Language`][acceptlanguage-link] and [`Content-Language`][contentlanguage-link]. > - Matroska media stream [`LanguageIETF Element`][matroskalanguage-link]. @@ -449,7 +449,7 @@ isValid = languageTag.IsValid; // true ## Tag Theory -> **ℹ️ Note**: Refer to [References][references] for complete specification details. +> **Note**: Refer to [References][references] for complete specification details. ### Terminology @@ -464,9 +464,9 @@ isValid = languageTag.IsValid; // true ### Format -> **ℹ️ TL;DR**: IETF language tags are constructed from sub-tags with specific rules. +> **TL;DR**: IETF language tags are constructed from sub-tags with specific rules. > -> **ℹ️ Note**: Refer to [RFC 5646 Section 2.1][rfc5646section21-link] for complete language tag syntax and rules. +> **Note**: Refer to [RFC 5646 Section 2.1][rfc5646section21-link] for complete language tag syntax and rules. **Normal tags**: From bc4d732ac3a842c287b8b50e8dc564c6a36a885f Mon Sep 17 00:00:00 2001 From: Pieter Viljoen Date: Mon, 9 Nov 2026 08:33:34 -0800 Subject: [PATCH 4/6] Spell the README's Summary Callouts Without a Semicolon The prose gate's semicolon rule reads the one inside TL;DR, so the two callouts the emoji cleanup touched now open on Summary. Co-Authored-By: Claude Opus 5.5 --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 762b158..af669f1 100644 --- a/README.md +++ b/README.md @@ -98,7 +98,7 @@ See [Usage][usage] for detailed usage instructions. ## Overview -> **TL;DR**: +> **Summary**: > > - Catalog of ISO 639-2, ISO 639-3, RFC 5646 language tags in JSON and C# record format. > - Code for IETF BCP 47 language tag construction and parsing per the RFC 5646 semantic rules. @@ -464,7 +464,7 @@ isValid = languageTag.IsValid; // true ### Format -> **TL;DR**: IETF language tags are constructed from sub-tags with specific rules. +> **Summary**: IETF language tags are constructed from sub-tags with specific rules. > > **Note**: Refer to [RFC 5646 Section 2.1][rfc5646section21-link] for complete language tag syntax and rules. From 4e7a970aadbf97ca4ef2e5da67b4b3dd8fc11ec8 Mon Sep 17 00:00:00 2001 From: Pieter Viljoen Date: Mon, 9 Nov 2026 08:37:42 -0800 Subject: [PATCH 5/6] Drop the Unused Git Auto Commit Entry and a Stray README Line Break Nothing in this repository or the hub workflows it calls uses the Git Auto Commit action, so the 3rd Party Tools list no longer claims it. A trailing backslash ended a list item, which CommonMark renders as a literal backslash. Co-Authored-By: Claude Opus 5.5 --- README.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/README.md b/README.md index af669f1..7d17357 100644 --- a/README.md +++ b/README.md @@ -225,7 +225,7 @@ Sub-tag matching happens left to right until a match is found. Examples: - `pt` will match `pt` Portuguese, or `pt-BR` Brazilian Portuguese, or `pt-PT` European Portuguese. -- `pt-BR` will only match `pt-BR` Brazilian Portuguese\ +- `pt-BR` will only match `pt-BR` Brazilian Portuguese. - `zh` will match `zh` Chinese, or `zh-Hans` simplified Chinese, or `zh-Hant` for traditional Chinese, and other variants. - `zh-Hans` will only match `zh-Hans` simplified Chinese. @@ -559,7 +559,6 @@ The third-party tools, libraries, and actions this project depends on. - [Create Pull Request][createpr-link]: GitHub action that opens a pull request from workspace changes. - [CSharpier][csharpier-link]: C# code formatter. - [GH Release][ghrelease-link]: GitHub action that creates a release. -- [Git Auto Commit][ghautocommit-link]: GitHub action that commits workspace changes. - [GitHub Actions][ghactions-link]: CI and automation runner. - [GitHub Dependabot][ghdependabot-link]: Dependency update bot. - [Husky.Net][huskynet-link]: Git hook manager for .NET. @@ -637,7 +636,6 @@ Licensed under the [MIT License][license]\ [csharpier-link]: https://csharpier.com/ [dansmithlanguagetagssharp-link]: https://github.com/DanSmith/languagetags-sharp [ghactions-link]: https://github.com/actions -[ghautocommit-link]: https://github.com/marketplace/actions/git-auto-commit [ghdependabot-link]: https://github.com/dependabot [ghrelease-link]: https://github.com/marketplace/actions/gh-release [huskynet-link]: https://alirezanet.github.io/Husky.Net/ From 1057c759a93aaf403aadae20b19570f604d629a3 Mon Sep 17 00:00:00 2001 From: Pieter Viljoen Date: Mon, 9 Nov 2026 08:54:23 -0800 Subject: [PATCH 6/6] List the Repository's Linters and Dependency Reporter in 3rd Party Tools Adds cspell, dotnet-outdated, editorconfig-checker, and markdownlint-cli2 with their fleet catalog descriptions, since the list already names the hub-workflow actions this project depends on. Co-Authored-By: Claude Opus 5.5 --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index 7d17357..22c4562 100644 --- a/README.md +++ b/README.md @@ -558,10 +558,14 @@ The third-party tools, libraries, and actions this project depends on. - [AwesomeAssertions][awesomeassertions-link]: Assertion library for .NET tests. - [Create Pull Request][createpr-link]: GitHub action that opens a pull request from workspace changes. - [CSharpier][csharpier-link]: C# code formatter. +- [cspell][cspell-link]: Spell checker. +- [dotnet-outdated][dotnetoutdated-link]: Outdated NuGet dependency reporter. +- [editorconfig-checker][editorconfigchecker-link]: Line-ending and whitespace linter. - [GH Release][ghrelease-link]: GitHub action that creates a release. - [GitHub Actions][ghactions-link]: CI and automation runner. - [GitHub Dependabot][ghdependabot-link]: Dependency update bot. - [Husky.Net][huskynet-link]: Git hook manager for .NET. +- [markdownlint-cli2][markdownlintcli2-link]: Markdown linter. - [Nerdbank.GitVersioning][nerbankgitversion-link]: Version computation from git height. - [Serilog][serilog-link]: Structured logging library for .NET. - [xUnit.Net][xunit-link]: Test framework for .NET. @@ -634,7 +638,10 @@ Licensed under the [MIT License][license]\ [contentlanguage-link]: https://www.rfc-editor.org/rfc/rfc9110.html#name-content-language [createpr-link]: https://github.com/marketplace/actions/create-pull-request [csharpier-link]: https://csharpier.com/ +[cspell-link]: https://cspell.org [dansmithlanguagetagssharp-link]: https://github.com/DanSmith/languagetags-sharp +[dotnetoutdated-link]: https://github.com/dotnet-outdated/dotnet-outdated +[editorconfigchecker-link]: https://github.com/editorconfig-checker/editorconfig-checker [ghactions-link]: https://github.com/actions [ghdependabot-link]: https://github.com/dependabot [ghrelease-link]: https://github.com/marketplace/actions/gh-release @@ -648,6 +655,7 @@ Licensed under the [MIT License][license]\ [iso6393-link]: https://iso639-3.sil.org/ [iso6393source-link]: https://iso639-3.sil.org/sites/iso639-3/files/downloads/iso-639-3.tab [jkporterbcp47-link]: https://github.com/jkporter/bcp47 +[markdownlintcli2-link]: https://github.com/DavidAnson/markdownlint-cli2 [matroskalanguage-link]: https://datatracker.ietf.org/doc/html/draft-ietf-cellar-matroska-07#name-language-codes [mattcglanguagesubtagregistry-link]: https://github.com/mattcg/language-subtag-registry [nerbankgitversion-link]: https://github.com/dotnet/Nerdbank.GitVersioning