localization

Localization support for Chinese

Hey guys... I need to support Chinese in one of my application on Windows, the problem is that I need to support for Chinese Mandarin and I did not find any locale code for it, can you clarify whether Windows support Mandarin chinese or is there any alternate?? ...

Are resx files suitable for Internationalization?

I have been given the task of internationalizing a large client-server application. The remit is that I make the app 'World Ready' and then the compiled application and resources gets passed over to colleagues in another country for translation and release to their customers. There will be several countries and therefore several seperate...

How to tell the Visual Studio Designer to localize my custom server control?

Hi, I'm currently working on a custom server control. Now I came to the end of developing it and everything runs smoothly. I now just checked that also localization works fine and discovered that the Visual Studio designer doesn't add the meta:resourcekey="buttonNameResource" to my control. The localization works if I add the meta:resou...

What is the best UI control for users who need to change language on the fly?

Obviously a subjective question but I figure this site has built up a multinational audience so hopefully there will be some good insight. The option I am thinking of going with is a combo box with flag images to indicate which language you want to view your application. Pros Everyone recognizes images so you don't have to worry abou...

Java alphabets in different languages

How can I determine if String contains only alphabets and I want to have little more than [a-zA-Z]+, so is there any way to determine alphabets by Locale? ...

ASP.NET MVC localization

I'd like to use resource file (.resx) to do localization in ASP.NET MVC. My thought is: Make a default resource file under App_GlobalResources folder Make several local resource files under App_LocalResources folder read cookie info to set CultureInFo Thread.CurrentThread.CurrentCulture = new CultureInfo("en-US"); then, I'd like to u...

Appropriate article (a/an) in String.Format

I'm looking for a culturally-sensitive way to properly insert a noun into a sentence while using the appropriate article (a/an). It could use String.Format, or possibly something else if the appropriate way to do this exists elsewhere. For example: Base Sentence: "You are looking at a/an {0}" This should format to: "You are looking at...

Right to left text in delphi trayicon BaloonHint

Is there a way to align text right in the delphi trayicon BaloonHint? ...

Tricky problem with ASP.NET web forms resources and localization.

I've got the following nonstandard setup (VS2008, .NET 3.5 SP1): There is a main web project called MainSite and There are several "plugin" web projects with different names. When building these plugins I have a custom build step that calls aspnet_compiler.exe and aspnet_merge.exe. This results in two .DLL files - *plugin_name*.dll and...

How to configure localization for an entire application?

I know I can set a CultureInfo object with an specified culture in the Application_BeginRequest event as is described here, but I don't want to do it for each request but in the application startup. All I can imagine is that I can use the Application_Start event, but I don't know how to set the global culture. ...

How to handle localization of controller names?

Hi, I run a site where it is important to have good and simple URLs that need to be localized. Example for the english version: example.com/car/?type=fiat Example for the Swedish version: example.se/bil/?typ=fiat (bil is car in swedish) And ofcourse I would like to handle all of these URLs from the same codebase. What is the best way...

how to change source file encoding in csharp project (visual studio / msbuild machine)?

Hello, I'm working on a winapp csproject using Visual Studio 2008 on Vista (polish locale) The problem appears when I build project on Win Server 2003 (english locale) - then polish diacritic is gone. I investigated that the issue is caused by improper source file encoding. It looks that source files aren't in UTF-8. Is there a way to...

Run a Qt app in a different language?

I'm working on a Qt application that used to be a KDE application. In the old days, I just had to use some syntax like: KDELANG=de ./my_app That ran my_app in German, and only my_app. It might not have been KDELANG, but it was some environment variable like that. I've spent a ridiculous amount of time trying to coax this answer out...

Windows device manager and hardware IDs

I'm curious how the windows device manager obtains the hardware IDs for a device, even though no device driver may be loaded for the device yet. Anybody have a clue on how Windows goes on about this? On a related note, I am interested in supporting language localization for the software we are writing; is it possible for a device and/o...

Configure visual studio to show error messages in english

I'm currently working in another country, and my PC has a non english version of windows installed, I don't care about this, but I do care a lot when visual studio show error messages because they are also localized to the same language as windows. Sometimes I spend a good time trying to find what it means, which is pretty boring... is...

clientside localisation

I have a colleague who thinks this alert('<asp:Localize ID="ErrorAddingComponent" runat="server" Text="There was an error adding component: " meta:resourcekey="ErrorAddingComponent"/>' + errortext); is a good idea if we get an error from an AJAX call, the errortext is the parameter of the function called on error from a jquery ajax, ...

Localize Currency for iPhone

I would like my iPhone app to allow the input, display and storage of currency amounts using the appropriate symbol ($, €, ₤, ¥, etc) for the user. Would NSNumberFormatter do everything I need? What happens when a user switches their locale and these amounts (dollars, yen, etc.) are stored as NSDecimalNumbers. I assume, to be safe, it'...

What license to use for translations of open source software

I'm writing an open source software that is licensed under the GPL. Now I'm offering that other users can translate the software, starting from an english translation I made by myself. What license or range of license may be best for translation of text strings, dialogs, etc.? As GPL is a software license, I thought about a Creative Comm...

Toggle visibility of div tags based on Browser Language

First off, I'm a PM and the dev team is already mad at me. So I'd like to take a shot creating the solution to the question below. We have a static maintenance mode html page that displays "Please check back soon" in 24 languages. Right now we are displaying all 24 translations at once and the page is pretty ugly. I've wrapped each t...

Determine local culture of a PC without creating an application

Hi, Is there any way to determine the local culture of a PC (such as en-US) without running an application? I tried looking in Control Panel | Regional Settings (running WinXP), but I don't know how the choices there map to the PC's culture. I'm looking for a solution that doesn't require creating an .exe, such as running a command fr...