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
0
votes
1 answer

Why we get the same CultureInfo.LCID from CultureInfo.GetCultures(CultureTypes.AllCultures)

Our code is simple, get the cultures and put them in a dropdown list control. items = new SortedDictionary(); foreach (CultureInfo info in CultureInfo.GetCultures(CultureTypes.AllCultures)) { string value =…
liuzhidong
  • 538
  • 3
  • 18
0
votes
1 answer

SharePoint 2007 Force Culture and UI Culture

i'm developing a sharepoint portal, and i want to force a portal culture to 'pt-PT', i already installed the moss and wss language packs and i changed the web.config too with the following statment: but if i set the browser language to other…
jdcorr
  • 103
  • 7
0
votes
1 answer

Changing the culture and ui culture on the site only updates one field

I am having an issue where changing the culture and UI culture dynamically by performing a button click to change the language on the website (http://cptestlocalisation.azurewebsites.net) does not change "all" my resx fields (only one field changes…
Zen Pak
  • 578
  • 6
  • 22
0
votes
1 answer

RFC4646 culture codes for javascript

Is there a comprehensive list of all or most used (e.g. on the websites in www) culture codes regarding to RFC4646 that is already written in a machine readable format (better: JSON)? Example: { codes: [ { code: 'en-US', name: 'English - United…
Sebastian Barth
  • 4,079
  • 7
  • 40
  • 59
0
votes
1 answer

Set a culture on c# backend page

I'm trying to set the culture and culture ui in the Page_Load of a .aspx.cs page. I have tried Thread.CurrentThread.CurrentUICulture = new System.Globalization.CultureInfo("fr-CA"); and CultureInfo ci = new…
starvator
  • 989
  • 1
  • 11
  • 26
0
votes
2 answers

WPF Culture issue

I would like to display in the main page of my app the date in the french format: (dd/MM/yyyy) I work with Entity Framework objects and dates are properties of an entity list which is binded to a combobox in the xaml file. I manage to get through…
Paul Martinez
  • 562
  • 1
  • 9
  • 19
0
votes
0 answers

How to change an assembly attribute of a third-party dll file?

I have a .NET project that refuses to be built in VS2013 because of a referenced library. The problematic library has culture attribute set to neutral. This causes the following error: Invalid argument. Culture is not supported. Parameter name:…
Limbo Exile
  • 1,321
  • 2
  • 21
  • 41
0
votes
1 answer

Regarding windows form localization C#

I have noticed people use this code to localize Thread.CurrentThread.CurrentUICulture = new CultureInfo("fr-FR"); Thread.CurrentThread.CurrentCulture = new CultureInfo("fr-FR"); Could anyone tell me what CurrentUICulture and CurrentCulture are? Why…
Thomas
  • 33,544
  • 126
  • 357
  • 626
0
votes
1 answer

Generating and Validating an XML Document in Multiple Languages

I have written an application that takes a proprietary file format and converts it to XML. I would like to localize that XML file based on culture information by translating element and attribute names. I can see how to create the XML document using…
John Donnelly
  • 875
  • 1
  • 10
  • 29
0
votes
1 answer

Culture Specific Date Time in Javascript

Hi I am using Jquery's DateTimePicker plugin in my ASP.Net we site. I want to have culture specific date format for my date time picker and where ever date is displayed from JavaScript should also be culture specific. How can we read culture/…
V.B
  • 1,191
  • 7
  • 29
  • 55
0
votes
1 answer

Add culture info in URL Login

I have a web site in ASP.NET MVC that uses culture routes (/en, /de, etc.) to determine the language of the user. I have a BaseController, and my other controllers extend from him: BaseController.cs public class BaseController : Controller { …
chemitaxis
  • 13,889
  • 17
  • 74
  • 125
0
votes
1 answer

how to change textbox input language gujarati as type in?

I am trying to convert Gujarati language when i input any text into text box. I want to convert text into Gujarati before i enter text into text box. when i click on button on Gujarati or select language from drop down list all data convert into…
Tejas
  • 467
  • 5
  • 13
0
votes
1 answer

Rupee symbol is not visible in windows server 2003

I have a winform application.In this application I have implemented culture globalization for different countries like USA, Frans and India. And I have to test this culture on windows server 2003 OS. When my culture is set to USA all the currency…
user2691432
  • 93
  • 1
  • 2
  • 10
0
votes
1 answer

Excel Object Model, will Value2 be culture specific?

on My PC I have English version (US) Excel 2013 I changed region to Germany, set value "550,66231278" to a cell in Excel When I read cell.Value2, I see in Visual Studio it is "550.66231278" So I wonder if Value2 is always in US culture format or it…
toosensitive
  • 2,335
  • 7
  • 46
  • 88
0
votes
1 answer

Asp.net culture how to set it properly

I am trying to set the culture in my application. Here is my code : Thread.CurrentThread.CurrentCulture = new CultureInfo("fr-CA"); Thread.CurrentThread.CurrentUICulture = new CultureInfo("fr"); I am trying to set it to the MasterPage.master first.…
Vinc 웃
  • 1,187
  • 4
  • 25
  • 64