localization

Locale change in Windows Vista isn't being reflected in .NET application.

I have changed my locale to English/Great Britain (en-GB) as described here. When running my C# .NET application, I was expecting that Thread.CurrentThread.CurrentUICulture and Thread.CurrentThread.CurrentCulture would reflect this en-GB setting. However, I'm still getting en-US. Is there something that I'm missing? ...

Localization of string literals

I need to localize error messages from a compiler. As it stands, all error messages are spread throughout the source code as string literals in English. We want to translate these error messages into German. What would be the best way to approach this? Leave the string literals as-is, and map the char* to another language inside the erro...

ASP.NET Web Services localization

I want to localize Web Service in ASP.NET application. I can write the following code to detect preferred client culture: CultureInfo culture = null; if (Request.UserLanguages!=null && Request.UserLanguages.Length>0) { string lang = Request.UserLanguages[0]; if (!String.IsNullOrEmpty(lang)) { try { culture = new CultureIn...

Localizing data in SQL Server 2008 tables and sorting

I need to localize data in tables in a SQL Server 2008 database. Each language will need its own sort order when selecting records. I was told in another thread that creating separate tables for each language would make it nearly impossible to create the select statement in a Stored Proc. to return the records for a culture. However, ...

Localization of Reporting Services-Reports (.rdl / .rdlc-Files)

Hallo, i need to localize a Reporting Services-report (.rdlc) and i would like to do it using a ressource-file (.resx). I found pages like this and that and they use custom code to achieve their target. But pages like Setting the Report Language Parameter in a URL give me the impression that localization in reports is possible without c...

ASP.NET MVC - Localization route

Hi, i'd like to create localized URL's for my site. They should obviously point to the same controller actions, but I want the first routevalues to -always- be the location/language specification. Is this possible? http://www.website.com/en/us/controller/action http://www.website.com/en/gb/controller/action I understand it ca...

Localization for XHTML files

Hi. I hav this web application using spring faces. How do i implement localization in XHTML files. I tried using loadBundle tag of JSF in loading labels fom properties file but it won't render as expected. ...

Do I need to do anything special to handle non-latin character sets in ASP.NET?

I received the following query from a customer: I am doing some research into character sets for future versions of our products. Most of the sites we have built use html including a meta tag for iso-8859-1 - the Western European Latin 1 alphabet rather than UTF-8 unicode. I have setup a page to play with this, ...

The pains of creating a global application

Hey guys! I need to create a global application. This means it should work ok anywhere in the world, at any country (or most of them). It's a PHP website that will deal with money and time at certain points. I wish I could know a good resource for countries, related timezones, currency formatting, symbols and codes, this kind of stuff....

.NET Exceptions - localization

With applications now being developed for users of many nationalities, localization is very important. I read on firefox's web site it is available in 70 languages. This increases their potential market dramatically. During a recent user acceptance testing session for my project, a bug was found. The exception was: "String was no...

HOW TO MAKE localization?

hi all I have a question about localization how can i do localization lets say that i have a dropdown list that holds the available languages: English,french and arabic and I have a label which get it says "good morning",so i want to change the lang. according to selected lang. in drop down list so when the user chooses french label will...

determining the character set to use

my delphi 2009 app has a basic translation system that uses GNUGetText. i had used some win API calls to prepare the fonts. i thought it was working correctly until recently when someone from Malta had a problem with my app failing precisely in this area. my app is used globally. some of this code may have become obsolete since d2009...

Localization problem

I need to make a form that have to suport two languages (for now). the two languages dont have the same look and also half of the form is not a like but it still have some similiarity beetwen them. what is the best way to deal with this problem in a case of two different languages and above? by the way, the program language that I use is...

Adobe AIR: detect en_GB locale

Is there a way to detect if the user is running the AIR application under en_GB locale on Windows? Capabilities.language returns only "en" and Capabilities.languages[0] returns "en_US" :( ...

page content in multiple languages

I want to display content in more than one languages in a page. For example all menus are in English and content of post in local language (ie. Hindi). Contents on page are stored in database. For one post content can be in either language (only one language not all) not in both. ...

Localization of HTML used in ASP.net

Hello , I have a asp.net application, which used html templates to generate content and sends this in the email. The code to read the html file is as- private string LoadHtml(string HtmlFile) { Assembly asm = Assembly.GetExecutingAssembly(); Stream stream = asm.GetManifestResourceStream(asm.GetName().Name + ...

how to design a tag system for a localized website?

Let say i have a basic tagging system (for a craiglists "clone") such as: Tag (id, tagname) ad(id, title, body) adTag(tag_id, article_id) This will fit for a non-localized website but what will be the correct aproach for a website that is used by people speaking diferent languages? Users probably will post ads in diferent languages ...

Localization in Prism WPF App

I'm looking for the best way to localize a Prism 2 WPF app that might have several modules ported to Silverlight 3. Has anyone successfully localized a Prism 2 WPF app with several modules? ...

Is the visible property of controls in c sharp localizable?

I've been trying to make a user control that suport two languages (using localization) and in the default language I have a control that his visible property is False and in the other language I change it to True but still in run time I couldnt see it in both languages. What should I do? The visible propery of controls suports localizati...

access system:string resource dictionary xaml in C#

Hello! How do I access the contents in a resource dictionary using C#? for example, here is my code in XAML: <system:String x:Key="NewGroup">New Group Name</system:String> and i want to access it here in C# private void OnAddGroup(object sender, ExecutedRoutedEventArgs e) { BooksGroupInfo group = new BooksGroupI...