{"id":18048253,"url":"https://github.com/lazziya/expresslocalization","last_synced_at":"2026-03-06T18:04:57.511Z","repository":{"id":102024777,"uuid":"186278630","full_name":"LazZiya/ExpressLocalization","owner":"LazZiya","description":"All dirty localization settings in simple steps","archived":false,"fork":false,"pushed_at":"2024-10-01T06:27:27.000Z","size":1264,"stargazers_count":39,"open_issues_count":0,"forks_count":8,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-31T11:02:33.802Z","etag":null,"topics":["asp-net-core","express-localization","globalization","localization","nuget"],"latest_commit_sha":null,"homepage":"https://docs.ziyad.info","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/LazZiya.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":"lazziya"}},"created_at":"2019-05-12T16:32:19.000Z","updated_at":"2025-03-02T05:15:40.000Z","dependencies_parsed_at":null,"dependency_job_id":"b53c5777-6e1b-48a4-b23d-837107426684","html_url":"https://github.com/LazZiya/ExpressLocalization","commit_stats":null,"previous_names":[],"tags_count":22,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LazZiya%2FExpressLocalization","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LazZiya%2FExpressLocalization/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LazZiya%2FExpressLocalization/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LazZiya%2FExpressLocalization/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LazZiya","download_url":"https://codeload.github.com/LazZiya/ExpressLocalization/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247737739,"owners_count":20987718,"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":["asp-net-core","express-localization","globalization","localization","nuget"],"created_at":"2024-10-30T20:12:14.563Z","updated_at":"2026-03-06T18:04:57.499Z","avatar_url":"https://github.com/LazZiya.png","language":"C#","funding_links":["https://github.com/sponsors/lazziya"],"categories":[],"sub_categories":[],"readme":"##\n\n\u003e ### ATTENTION: Due to several major breaking changes in the planned v5, the next version has been moved to a new project! ExpressLocalization will continue to get support and hotfixes. To continue with the next vesion please see:\n\u003e ### New project repository: [XLocalizer](https://github.com/LazZiya/XLocalizer)\n\u003e ### New project docs: [DOCS.Ziya.info.tr](http://docs.ziya.info.tr/)\n\u003e ### Sample repository: [XLocalizer.Samples](https://github.com/LazZiya/XLocalizer.Samples)\n\n##\n\n## What is ExpressLocalization? \nA nuget package to simplify the localization setup of any Asp.Net Core web application.\n\n### How to use\nInstall from nuget :\n````\nInstall-Package LazZiya.ExpressLocalization\n````\n\nAdd _ExpressLocalization_ to `startup.cs`:\n````cs\nusing LazZiya.ExpressLocalization;\n\npublic void ConfigureServices(IServiceCollection services)\n{    \n    var cultures = new CultureInfo[]\n    {\n        new CultureInfo(\"en\"),\n        new CultureInfo(\"tr\"),\n        new CultureInfo(\"ar\")\n    };\n\n    services.AddRazorPages()\n        .AddExpressLocalization\u003cLocalizationResource\u003e(\n            ops =\u003e\n            {\n                ops.ResourcesPath = \"LocalizationResources\";\n                ops.RequestLocalizationOptions = o =\u003e\n                {\n                    o.SupportedCultures = cultures;\n                    o.SupportedUICultures = cultures;\n                    o.DefaultRequestCulture = new RequestCulture(\"en\");\n                };\n            });\n}\n````\n\nThen configure the app to use `RequestLocalization` middleware :\n````cs\npublic void Configure(IApplicationBuilder app, IWebHostEnvironment env)\n{\n    // Other codes...\n    \n    // Add localization middleware to the app\n    app.UseRequestLocalization();\n\n    app.UseEndpoints(endpoints =\u003e\n    {\n        endpoints.MapRazorPages();\n    });\n}\n````\n\n### Setup and options\nFor all details goto [wiki pages](https://github.com/LazZiya/ExpressLocalization/wiki)\n\n### Step by step tutorial \n * [Develop Multi Cultural Web Application Using ExpressLocalization](https://www.codeproject.com/Articles/5061604/Developing-Multicultural-ASP-NET-Core-3-2-1-Projec)\n\n### Sample projects\n * [Asp.Net Core 2.2](https://github.com/LazZiya/ExpressLocalizationSample)\n * [Asp.Net Core 3.0](https://github.com/LazZiya/ExpressLocalizationSampleCore3)\n\n### License\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flazziya%2Fexpresslocalization","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flazziya%2Fexpresslocalization","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flazziya%2Fexpresslocalization/lists"}