{"id":17621468,"url":"https://github.com/sql-mistermagoo/localizationbug","last_synced_at":"2026-01-07T17:39:11.751Z","repository":{"id":91797787,"uuid":"290635082","full_name":"SQL-MisterMagoo/LocalizationBug","owner":"SQL-MisterMagoo","description":"Demonstrates incorrect localization behaviour in Blazor WebAssembly","archived":false,"fork":false,"pushed_at":"2020-08-27T00:31:57.000Z","size":215,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-05T03:23:23.141Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SQL-MisterMagoo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2020-08-27T00:31:48.000Z","updated_at":"2020-08-27T00:32:00.000Z","dependencies_parsed_at":null,"dependency_job_id":"f86ff26d-07dc-47a4-b44e-d9430247cf75","html_url":"https://github.com/SQL-MisterMagoo/LocalizationBug","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SQL-MisterMagoo%2FLocalizationBug","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SQL-MisterMagoo%2FLocalizationBug/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SQL-MisterMagoo%2FLocalizationBug/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SQL-MisterMagoo%2FLocalizationBug/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SQL-MisterMagoo","download_url":"https://codeload.github.com/SQL-MisterMagoo/LocalizationBug/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246263953,"owners_count":20749375,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2024-10-22T20:43:33.832Z","updated_at":"2026-01-07T17:39:11.719Z","avatar_url":"https://github.com/SQL-MisterMagoo.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Localization Bug\n\nThe `IStringLocalizer` is using the `CurrentCulture` to look up resources, instead of using the CurrentUICulture as it does in Server side  aspnetcore/Blazor.\n\nPossibly caused by this line of code?\n\nhttps://github.com/dotnet/aspnetcore/blob/a4938d07a5127ffad8466ddf703a6b5b21f4b0c9/src/Components/WebAssembly/WebAssembly/src/Hosting/SatelliteResourcesLoader.cs#L29\n\n` var culturesToLoad = GetCultures(CultureInfo.CurrentCulture);`\n\nAs you can see it is loading the CurrentCulture satellite assemblies, not CurrentUICulture. ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsql-mistermagoo%2Flocalizationbug","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsql-mistermagoo%2Flocalizationbug","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsql-mistermagoo%2Flocalizationbug/lists"}