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)

781 questions
159
votes
23 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
  • 61,190
  • 29
  • 155
  • 224
129
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
  • 12,276
  • 21
  • 71
  • 114
86
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,187
  • 19
  • 76
  • 112
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…
62
votes
10 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,494
  • 4
  • 22
  • 40
58
votes
3 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
  • 593
  • 1
  • 5
  • 6
52
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
  • 2,907
  • 8
  • 38
  • 58
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,604
  • 1
  • 16
  • 30
41
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…
40
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,175
  • 19
  • 55
  • 83
39
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
  • 3,884
  • 5
  • 35
  • 47
39
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
  • 965
  • 4
  • 13
  • 23
35
votes
1 answer

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
  • 43,414
  • 51
  • 157
  • 277
34
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,179
  • 16
  • 49
  • 72
31
votes
4 answers

Is CultureInfo.CurrentCulture really necessary in String.Format()?

How do you think is really necessary to provide IFormatProvider in method String.Format(string, object) ? Is it better to write full variant String.Format(CultureInfo.CurrentCulture, "String is {0}", str); or just String.Format("String is {0}",…
abatishchev
  • 92,232
  • 78
  • 284
  • 421
1
2 3
52 53