{"id":43833803,"url":"https://github.com/rameel/ramstack.localealignment","last_synced_at":"2026-02-06T03:34:39.570Z","repository":{"id":334768775,"uuid":"1140903499","full_name":"rameel/ramstack.localealignment","owner":"rameel","description":"POSIX locale alignment for .NET CultureInfo on Unix-like systems","archived":false,"fork":false,"pushed_at":"2026-02-04T14:09:07.000Z","size":420,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-02-05T01:29:57.615Z","etag":null,"topics":["cultureinfo","freebsd","icu","linux","locale","posix"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rameel.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-01-23T22:53:48.000Z","updated_at":"2026-02-04T14:07:07.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/rameel/ramstack.localealignment","commit_stats":null,"previous_names":["rameel/ramstack.localealignment"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/rameel/ramstack.localealignment","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rameel%2Framstack.localealignment","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rameel%2Framstack.localealignment/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rameel%2Framstack.localealignment/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rameel%2Framstack.localealignment/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rameel","download_url":"https://codeload.github.com/rameel/ramstack.localealignment/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rameel%2Framstack.localealignment/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29148399,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-06T02:39:25.012Z","status":"ssl_error","status_checked_at":"2026-02-06T02:37:22.784Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cultureinfo","freebsd","icu","linux","locale","posix"],"created_at":"2026-02-06T03:34:39.502Z","updated_at":"2026-02-06T03:34:39.551Z","avatar_url":"https://github.com/rameel.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ramstack.LocaleAlignment\n[![NuGet](https://img.shields.io/nuget/v/Ramstack.LocaleAlignment.svg)](https://nuget.org/packages/Ramstack.LocaleAlignment)\n[![MIT](https://img.shields.io/github/license/rameel/ramstack.localealignment)](https://github.com/rameel/ramstack.localealignment/blob/main/LICENSE)\n\nA small library for aligning .NET culture settings with POSIX locale user overrides on Unix-like systems.\n\n![screenshot](https://raw.githubusercontent.com/rameel/ramstack.localealignment/c3abd3eb89b4b88965dede9f4a6b1eccb1b74b21/assets/screenshot.png)\n\n## Problem\nOn Unix-like systems, .NET determines the process culture using only a subset of locale-related environment variables (`LC_ALL`, `LC_MESSAGES`, `LANG`).\n\nCategory-specific overrides such as `LC_NUMERIC`, `LC_TIME`, and `LC_MONETARY` **are not applied** during `CultureInfo` initialization.\n\nThis behavior is documented and discussed in the .NET runtime repository:\n* [https://github.com/dotnet/runtime/issues/110095](https://github.com/dotnet/runtime/issues/110095)\n\n\n## Project structure\nThis repository contains two packages:\n\n### Ramstack.LocaleAlignment\nA small runtime library that explicitly applies POSIX locale category overrides to .NET `CultureInfo`.\n\nIt is intended to be called manually during application startup and can be used from any .NET language (`C#`, `F#`, `Nemerle`, etc.).\n\n### Ramstack.LocaleAlignment.Generator\nA dependency-free Roslyn source generator that enables automatic locale alignment at application startup.\n\nThe generator injects the equivalent of a `LocaleAlignment.Apply()` call directly into the compiled output,\nwithout introducing any runtime dependency or requiring any configuration.\n\n\n## Supported versions\n|      | Version        |\n|------|----------------|\n| .NET | 6, 7, 8, 9, 10 |\n\n## Contributions\nBug reports and contributions are welcome.\n\n## License\nThis package is released as open source under the **MIT License**.\u003cbr /\u003e\nSee the [LICENSE](https://github.com/rameel/ramstack.localealignment/blob/main/LICENSE) file for more details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frameel%2Framstack.localealignment","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frameel%2Framstack.localealignment","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frameel%2Framstack.localealignment/lists"}