Questions tagged [culture]

Culture is the combination of language and peculiarities of geographical location (like en-UK, en-US, de-AT, de-DE, fr-BE)

Culture is the combination of language and peculiarities of geographical location (like en-GB, en-US, de-AT, de-DE, fr-BE)

815 questions
172
votes
27 answers

What does MissingManifestResourceException mean and how to fix it?

The situation: I have a class library, called RT.Servers, containing a few resources (of type byte[], but I don't think that's important) The same class library contains a method which returns one of those resources I have a simple program (with a…
Timwi
  • 65,159
  • 33
  • 165
  • 230
136
votes
4 answers

What is the difference between Culture and UICulture?

Could someone give me a bit more information on the difference between Culture and UICulture within the .NET framework? What they do and when to use what?
Niklas
  • 13,005
  • 23
  • 79
  • 119
92
votes
8 answers

Set Culture in an ASP.Net MVC app

What is the best place to set the Culture/UI Culture in an ASP.net MVC app Currently I have a CultureController class which looks like this: public class CultureController : Controller { public ActionResult SetSpanishCulture() { …
ChrisCa
  • 10,876
  • 22
  • 81
  • 118
84
votes
12 answers

Disable Dll Culture Folders on Compile

I'm using 2 dlls (Microsoft.Expression.Interactions.dll and System.Windows.Interactivity.dll) that, when the parent application is compiled, create loads of culture folders: And inside each are 2 dlls…
Alexander Forbes-Reed
  • 2,823
  • 4
  • 27
  • 44
68
votes
5 answers

JavaScript parseFloat in Different Cultures

I have a question about the default behavior of JavaScript's parseFloat function in different parts of the world. In the US, if you call parseFloat on a string "123.34", you'd get a floating point number 123.34. If I'm developing code in say…
chumphries
  • 693
  • 1
  • 6
  • 6
66
votes
9 answers

MVC 3 jQuery Validation/globalizing of number/decimal field

When using globalization culture="da-DK" in the Web.config file, the jQuery validation does not work. In Denmark, we use the notation 19,95 instead of the US way 19.95 when we write a price for at product, and that have given me a problem, that I…
57
votes
3 answers

Set up dot instead of comma in numeric values

I have new XmlDocument object, i.g. xml is created during my program... I want all numeric values in created xml was with dot symbol instead of comma by default. Can I do something to declare it once, not to parse every decimal value? I.e. To set up…
Ksice
  • 3,277
  • 9
  • 43
  • 67
47
votes
16 answers

Pirated software at a company?

I recently had a position at a small web development shop in the US where virtually all software used on a daily basis was cracked. My own IDE was paid for, and I used open source software personally while there, but I was still required to use MS…
Pro777
  • 1,684
  • 1
  • 18
  • 30
44
votes
4 answers

How to add literal strings in a DateTime format?

Is it possible to add the word "at" between a Date and Time format? I tried to add it just like this "dddd, d MMM, yyyy at HH:mm" but the webapp is tranforming it into "aA" or "aP" depending of regional configuration CA or…
Maximus Decimus
  • 4,901
  • 22
  • 67
  • 95
43
votes
8 answers

How are the chinese coding?

Do they code in Latin? Do they have their own programming language? I'm just curious.
darkrain
  • 1,025
  • 4
  • 14
  • 23
42
votes
4 answers

How to getting browser current locale preference using javascript?

Does anyone know how to obtain the browser culture from Firefox and Google Chrome using javascript? Note: This is an asp.net 3.5 web application. The requirement is to try and set the application's display culture based on the browser culture. I…
The Sheek Geek
  • 4,126
  • 6
  • 38
  • 48
42
votes
3 answers

Async WebApi Thread.CurrentCulture

I have a self-hosted OWIN hosted Web API project providing some basic REST methods for me. I want to have multilingual error messages, so I use Resource files and a BaseController that sets the Thread.CurrentCulture and Thread.CurrentUICulture to…
38
votes
2 answers

C# Cultures: Localize DayOfWeek?

How do I localize a DayOfWeek other than today? The following works just fine for the current day: DateTime.Now.ToString("dddd", new CultureInfo("it-IT")); But how can I localize all days of the week?? Edit: A possible (and probably very, very…
bevacqua
  • 47,502
  • 56
  • 171
  • 285
36
votes
4 answers

What is devops?

What is devops? It has something to do with combining dev and ops but I don't get it.
user128807
  • 10,447
  • 17
  • 53
  • 72
33
votes
6 answers

.NET: Are there any differences between InvariantCulture and en-US?

Given the following two cultures: CultureInfo c1 = InvariantCulture; CultureInfo c2 = new CultureInfo("en-US"); and i were to examine every piece of information specific to both cultures,…
Ian Boyd
  • 246,734
  • 253
  • 869
  • 1,219
1
2 3
54 55