culture Questions
6
When I upload my ASP.NET site on IIS in my server, It throws the following error
Error
Culture is not supported.
Parameter name: name
en-SA is an invalid culture identifier.
Exception Details: Sy...
6
Solved
I'm trying to unit test a getprice method using NUnit. I am stuck with parsing the rawprice into double. My cultureinfo is en-US but I set it to de-DE for this test. Double parsing with numberstyle...
6
Solved
I am running Windows 10. When I open "Region & language settings" from the start menu, I can select a "Country or region". I am trying to get this value in a C# program.
I am in Denmark. I ha...
4
Solved
Using NUnit I wish to run all the tests in a certain project against multiple cultures.
The project deals with parsing data that should be culture neutral, to ensure this I would like to run every...
1
I must write a stringToNumber parsing function that can use custom strings for the following:
decimal separator (. for en-US => 3.1415)
thousands separator (, for en-US => 1,000,000)
positive sig...
Lentissimo asked 3/10, 2017 at 7:6
26
Solved
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 on...
5
Solved
I know how to force numbers, texts etc.., but is there a flag or IME options for me to force the EditText to accept only certain language like English in case my DB fields can accept only English c...
10
Solved
I have just migrated around 100 ASP.net sites from IIS 6 on Windows Sever 2003 to IIS 7 on Windows 2008. I've just noticed that various pieces of code that use things like DateTime.Parse have start...
Shiksa asked 21/6, 2012 at 9:12
2
Solved
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...
5
Solved
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 poin...
Gleda asked 2/10, 2012 at 16:33
5
Solved
currently i obtain the below result from the following C# line of code when in es-MX Culture
Thread.CurrentThread.CurrentCulture =
Thread.CurrentThread.CurrentUICulture = new
CultureInfo("es-mx...
Phonate asked 23/10, 2008 at 4:35
12
Solved
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...
2
I need to run a legacy application on my computer, which requires a specific culture setting in Windows in order to work. I do not want to change the global culture settings in Windows in order to ...
Boots asked 24/4, 2017 at 6:18
1
Solved
My Win 10 system has Spanish language.
I mean to fully operate a PowerShell session in English.
Across everything I tried (see below), I managed to change the UICulture to en-US for the current ses...
Valorize asked 13/7, 2020 at 9:10
5
Solved
Is it ok to use dd-mm-yyyy or dd-mmm-yyyy for UK. I used dd-mmm-yyyy format in my web application for UK.
Select CONVERT(varchar(11),ArrivalDate,106)
But the PM asked me,
Are you sure that t...
Kileykilgore asked 28/7, 2016 at 5:46
1
Solved
During my tinkering with PS 5.1 related to the objective of question Fully change language for the current PowerShell session
I observed a "strange" behavior:
> [system.threading.threa...
Adalbertoadalheid asked 15/7, 2020 at 7:3
3
Solved
We have two same letter 'ی' and 'ي' which the first came as main letter after windows seven.
Back to old XP we had the second one as main.
Now the inputs I get is determined as different if one cli...
Thermion asked 20/2, 2013 at 15:30
2
Solved
I export Word docx from markdown using Pandoc.
By default, everything seems to be marked as English in the docx file. So I tried to override this, e.g. by command line option pandoc -s -S images.m...
Tieratierce asked 7/12, 2016 at 21:31
6
Solved
I have a simple data conversion tool and one of the outputs it can produce is a csv file.
This works perfectly here in the UK but when I shipped it out to a German customer I had some issues. Spec...
2
Solved
I tried to Set-Culture -CultureInfo vi-VN but Powershell was not changed to my setted Culture.
I tested by open Powershell ISE and seen my setted Culture was changed successful.
How to make Power...
Trencherman asked 17/2, 2020 at 16:13
3
I'm trying to see if the user has pressed a decimal separator in a text box, and either allow or suppress it depending on other parameters.
The NumberdecimalSeparator returns as 46, or '.' on my U...
Flew asked 15/10, 2008 at 21:38
6
Solved
How to set internationalization to a DateTimepicker or Calendar WinForm control in .Net when the desire culture is different to the one installed in the PC?
Respire asked 28/10, 2008 at 1:27
2
Solved
I have been using the following setting the the web.config of my previous application.
<system.web>
<globalization culture="en-AU" uiCulture="en-AU" />
</system.web>
Now in my...
Mcrae asked 16/12, 2016 at 2:51
1
I have an some text other than English culture.
Ex: Tamil culture.
If I don't mention culture, default English will be taken.
How to convert the text into voice (other than English)?
Code snipp...
Interview asked 24/11, 2017 at 10:5
2
Solved
How can I call ToString() on an object and make it use the invariant culture?
There are overloads for ToString() on objects that implement IConvertible (like bool, int, float..), but what if the ob...
Alikee asked 17/9, 2011 at 21:23
1 Next >
© 2022 - 2025 — McMap. All rights reserved.