Questions tagged [globalization]

The process of making an application suitable for use for a world-wide audience, regardless of culture.

Cultures world-wide differ in many ways beyond the language spoken by users.

Globalization (or globalisation) is the process of making software appropriate for many different cultures. This might include

  • ensuring left-to-right and right-to-left character sets and display layouts are supported
  • different sort orders and search conventions are honoured
  • using non-pejorative user interface conventions, e.g. avoiding use of certain colours
  • understanding different conventions for people's names
  • recognising different ways to identify buildings and companies

It can be contrasted with localization, which is the process of tailoring software software for a particular locale.

1436 questions
10
votes
4 answers

Normalize unicode string in SQL Server?

Is there a function in SQL Server to normalize a unicode string? e.g. UPDATE Orders SET Notes = NormalizeString(Notes, 'FormC') Unicode Normalization Forms: C​omposition (C): A + ¨ becomes Ä D​ecomposition (D): Ä becomes A + ¨ Compatible…
Ian Boyd
  • 246,734
  • 253
  • 869
  • 1,219
10
votes
2 answers

C#, Localization, Resources, and MonoDevelop

My problem is this: Using MonoDevelop (which is the preferred environment for a number of projects I'm working on) I'm trying to figure out how to use resource files for localized messages and how to properly include them in the project as an…
Sean Quinn
  • 2,131
  • 1
  • 18
  • 48
10
votes
4 answers

Javascript Date Localization

I'm working with an ASP.NET app with localization and globalization. I'm having some difficulty understanding how to get the Date() function in javascript to work properly given the user's environment. My user base is split between Mexico…
RSolberg
  • 26,821
  • 23
  • 116
  • 160
10
votes
3 answers

Using Int32.ToString() without Format and IFormatProvider. Why do I get the CA1305 warning?

I have been wondering about this one for quite some time, but I cannot seem to find a definitive answer. Whenever I convert an integer to a string using the ToString() method, and I run a code analysis, I get the following warning: CA1305:…
Edwin de Koning
  • 14,209
  • 7
  • 56
  • 74
10
votes
2 answers

Multiple Languages(English, French) on ASP.NET Page

I was just wondering what is the best way to handle multiple languages on a web page? Should I create an event in the load where I change the labels of all my controls to the approrpiate language text, or is there a better way? I am using .NET…
Oliver S
  • 621
  • 2
  • 9
  • 20
10
votes
1 answer

ResourceManager not selecting correct resource set when using custom culture

I have created a localized MVC website using the code found on this blog by Alex Adamyan. This is working great if I use an existing culture. However, I am trying to localize for Tagalog (tl or tl-PH). Windows does not have this culture built in…
10
votes
2 answers

Do we affect multiple users in ASP.NET when we set the Thread CurrentCulture/CurentUICulture?

When we set the CurrentCulture and/or CurrentUICulture we do this on the current thread like this: Thread.CurrentThread.CurrentCulture = new CultureInfo("en-GB"); Thread.CurrentThread.CurrentUICulture = new CultureInfo("en-GB"); Doest this…
Nikolay
  • 103
  • 4
10
votes
1 answer

DataAnnotations and Resources don't play nicely

I'm using dataannotations in an MVC2 app and am a little discouraged when trying to use RESX file resources for error messages. I've tried the following but keep getting the exception "An attribute argument must be a constant expression, typeof…
devlife
  • 15,275
  • 27
  • 77
  • 131
10
votes
4 answers

Globalize an existing Windows Forms application?

I have an existing winforms application developed using VS 2005 and .net framework 2.0. Now we need to globalize this application. The two locales are German and Japanese. I know we can use form's localize property to create localized form resources…
ksa
  • 546
  • 1
  • 4
  • 20
10
votes
3 answers

How to format the HH:mm:ss separators of a TimeSpan in a culture-aware manner?

I'm working on an app that may be seen in many countries in the world. There are not many countries that show hours, minutes and seconds with something other than : as a seperator but there are a few and I want to make sure that times are formatted…
10
votes
3 answers

Is it possible to force the currency for an MVC3 field with DataType as DataType.Currency

I'm writing an MVC3 application that reads in a bunch of monetary data from a database. The issue I have is that these amounts are all in different currencies. If I set the type of a field like this: [DataType(DataType.Currency)] public Amount{ get;…
growse
  • 3,554
  • 9
  • 43
  • 66
10
votes
1 answer

Resourcemanager is returning same resource, although CultureInfo is specified

A very simple thing, and I can't get it to work. I want to globalise my dll thus I'm using resource files + the ResourceManager. I call the resourcemanager like this: var p = new ResourceManager("Appname.Default",…
Jochen van Wylick
  • 5,303
  • 4
  • 42
  • 64
10
votes
1 answer

Process.Start specify culture

In one webapplication i have a IHttpHandler that when invoked starts an regular application that connects to a firebird database and amongst other things parses some dates from the database. When run from the desktop the application does what is…
Tjelle
  • 986
  • 1
  • 9
  • 17
9
votes
2 answers

Changing currency symbol in SQL Reporting 2005

I'm using SQL Reporting 2005. I'm formatting a currency in a cell using Format(Fields!NetPrice.Value, "C") but the format is coming out $10.00 I want pounds so £10.00 Can someone tell me where is the setting to do this. I've looked and google and…
9
votes
3 answers

How to call EnumSystemLocales in Delphi?

i am trying to call EnumSystemLocales in Delphi. For example: { Called for each supported locale. } function LocalesCallback(Name: PChar): BOOL; stdcall; begin OutputDebugString(Name); Result := Bool(1); //True end; procedure…
Ian Boyd
  • 246,734
  • 253
  • 869
  • 1,219