Questions tagged [westwind-globalization]

Database Resource Localization for .NET

11 questions
2
votes
0 answers

Localizing Default Data Annotations

We're using ASP.Net Core 2.2 and Westwind Globalization. I was wondering if there's a way to use these two to override the default attributes, such as StringLength in the model? We're updating the built in items, such as…
2
votes
1 answer

How to Make Language Specific Url in Asp.Net Project?

I used westwind globalization library http://west-wind.com/westwind.globalization/ on my project to implement multiple languages. Everything is working fine. Only one problem is that I get culture reference variable at the end of url as…
1
vote
1 answer

Deploy new translations on production in ASP MVC with westwind globalization

I'm adding globalization using westwind globalization in my asp mvc app that is already running on production server (Git, TeamCity with continuous delivery). What I want to achieve if flow as follow: globalize a new view (create necessary…
g36
  • 493
  • 1
  • 4
  • 9
1
vote
1 answer

Running Westwind globalization in a separate project

I have a .net mvc solution with multiple projects and would like to use the Westwind globalization outside of the main mvc project. I realize I can't run the Westwind app in a class library so what I was trying to do is have the web interface run…
VirtualLife
  • 402
  • 5
  • 14
0
votes
0 answers

Migrating Westwind Globalization from .net framework to .net 6

We are using westwind.globalization (3.0.5) in .net framework projects and wanted to reuse the same localization resources for a new .net 6 api. In existing .net framework projects, after setting up the web.config, then we can use DbRes static…
seven21
  • 114
  • 1
  • 8
0
votes
0 answers

Get Value from java script to viewData in layout

ViewData value pass dynamically in mean language ViewData["ame"] ="en-En"; @DbRes.T("Home","Menu",@ViewData["ame"]) Now Culture dynamically pass en-En ,fr-Fr, using Java script
0
votes
1 answer

Options for Web app globalization/localization tools?

I am looking for some tools/frameworks for .NET Core 3.1 to ease the localization of my web app. I wanna avoid dealing with .resx files as much as possible. Westwind.Globalization is a good one but it does not support version .NET Core 3.1. Is there…
0
votes
1 answer

Get Resource Set for WestWind Globalization

I'd like to retrieve all the values back from a particular Resource Set in Westwind. I tried to use GetResourceSet but it doesn't return results. Is there anything that does this? Thanks, David
David Hendrick
  • 93
  • 2
  • 13
0
votes
1 answer

ASP.NET Core 2.1 MVC, Can we set a restriction to a controller in appsetting.json? WestWind Globalization url

I have a path in my application for handling the string resources on the site. The controller and action are managed by a 3rd party library so I can't really apply to authorize attribute there. I am using the WestWind Globalization library which…
0
votes
2 answers

Westwind.Globalization Framework w/ Account.cs ASP.NET MVC

I'm having trouble declaring a resource in the Account.CS file. Here's my code: [Required(ErrorMessageResourceName= typeof @DbRes.T("Account", "EmailAddress")] [Required(ErrorMessageResourceName = (@DbRes.T("EmailAddress", "Account")))] …
0
votes
1 answer

Unexpected behaviour in WestWind.Globalization - Blocked updates

As the title hints, I am using WestWind.globalisation as a database resource provider to support multiple languages. The problem is, that the resource provider it self seems reluctant to reflect the changes I make in the application. An example: I…
Marco
  • 22,856
  • 9
  • 75
  • 124