localization

Silverlight 3; switching to culture zh-Hans throws exception

I'm trying to localize my Silverlight 3.0 app to Simplified Chinese. However, when I attempt to switch to that culture (zh-Hans, according to http://msdn.microsoft.com/en-us/library/system.globalization.cultureinfo%28VS.95%29.aspx) with this code: var currentCulture = new CultureInfo("zh-Hans"); Thread.CurrentThread.CurrentCulture = cu...

Localization approach for XSLT + RESX in ASP.NET

I have an ASP.NET web app where the back end data (XML format) is transformed using XSLT, producing XHTML which is output into the page. Simplified code: XmlDocument xmlDoc = MyRepository.RetrieveXmlData(keyValue); XslCompiledTransform xsl = new XslCompiledTransform(); xsl.Load(pathToXsl, XsltSettings.TrustedXslt, null); StringWriter s...

Dynamic language switching in an Eclipse RCP application

I am working on an Eclipse RCP application with localization. A user should be able to change the language used in the application on the fly. A restart of the application should not take place during this language switch. It should also be possible to switch between languages written from left to right and languages written from right t...

ASP.Net / MySQL : Translating content into several languages

I have an ASP.Net website which uses a MySQL database for the back end. The website is an English e-commerce system, and we are looking at the possibility of translating it into about five other languages (French, Spanish etc). We will be getting human translators to perform the translation - we've looked at automated services but these ...

Classic ASP FormatNumber weirdness

We have a recently internationalised application written in classic ASP. The following code replicates the issue. The value of that field in the recordset is "8.90" and is typed as varchar(255). session.LCID = 2057 nNumber = recMessages.fields(lCounter) Response.Write nNumber '' # prints 8.90 Response.Write FormatNumber(8.90) '' # print...

How to get a list of asian text font?

Is there any way to get the list of asian font? (see http://dl.getdropbox.com/u/61853/FontDialog.jpg) or how do I know whether a font support asian text or not? ...

What is second param of NSLocalizedString()?

What is the *comment parameter in: NSString *NSLocalizedString(NSString *key, NSString *comment) If I do this NSLocalizedString(@"Hello_World_Key", @"Hello World") and have two versions of a Localizable.strings (English and es), does each need the entry: English: @"Hello_World_Key" = @"Hello World"; Spanish: @"Hello_World_Key" = @...

Localizing system menu control tooltips

I'm working on a multi-lingual WPF project that will be localized into many different languages. One issue we are currently having is localizing the tool tips on the minimise, maximise and close buttons. The tool tips seem to get localized when changing the OS language in Vista and Windows 7, however on XP SP3 the tool tips still appea...

In C#, How can I create satellite resource that will be used at design time?

I am trying to localize an application, but I have a couple restrictions. I must use Resx-based localization (I cannot use LocBaml). Also, all resources, including the fallback resource (en-US), must be stored in a satellite assembly. No resources can be embedded with the application. Here's my problem. Every time I add a string, I ...

How to localise a static website?

For a website I'm doing, I'm only using static content such as HTML, javascript, CSS, images (no PHP or server-side language). I want to be able to localize in English and French, but I'm unsure what would be a good solution. Here are the solutions I have in mind so far: Duplicate HTML pages Pros: simple, SEO friendly Cons: a pain if I...

Jquery datepicker localization

I need a french calendar and I can't understand the problem. I guess i'm not using the regional options like it should be. But... Here is my code : $(function() { $('#Date').datepicker({ showMonthAfterYear: false, showOn: 'both', buttonImage: 'media/img/calendar.png', buttonImageOnly: true, dateFormat:'d...

Borland C++ localization

I am currently using Codegear RAD Studio 2007. One of my company clients' decided that he would be interested in localized version of our software (to Russian - I don't know if it matters, that we won't be able to use standard windows code page). As a part of our software we are using RAVE to generate some reports. Is there any solution...

.resx Localization not working with ASP.Net - C#

I've created two .resx files - WebResources.resx and WebResources.fr-FR.resx. Both contain ExceptionMessages_SignupWithCard. To test I did: Thread.CurrentThread.CurrentCulture = new CultureInfo("fr-FR"); Response.Write("Current Culture is " + CultureInfo.CurrentCulture.EnglishName); Response.Write("<br>Message is: " + Resources.WebRes...

Localization of a Form using ResourceManager

I am currently working on localizing a Form. However I am somewhat confused as to how one correctly does this. I thought it would be possible to export control properties to a resource file automatically, but it seems this is a manual task. My current approach is to add all the Control Properties which are of type String and are writab...

How can I change the CurrentCulture of the entire process (not just current thread) in .Net?

I have a situation where I need to set my process' locale to en-US. I know how to do this for the current thread: System.Threading.Thread.CurrentThread.CurrentCulture = System.Globalization.CultureInfo.CreateSpecificCulture("en-US"); But my application uses BackgroundWorkers to do some processing, and the locale for these worke...

html upload: localize browse button

How can I make the "browse" button display in another language? ...

When a user sets his focus in an input box can I set the regional language with JavaScript?

When a user sets his focus in an input box can I set the regional language with JavaScript? How would I do this? ...

Finding type of break in icu::BreakIterator

I'm trying to understang how to use icu::BreakIterator to find specific words. For example I have following sentence: To be or not to be? That is the question... Word instance of break iterator would put breaks there: |To| |be| |or| |not| |to| |be|?| |That| |is| |the| |question|.|.|.| Now, not every pair of break points is a...

C# WPF Getting localized FontFamily

The project I am working on has a rich text box that can have it's font changed to any of the system fonts via a combo box. We add all the FontFamily objects from "Fonts.SystemFontFamilies" as the ItemsSource of the combo box. We need to be able to show the localized names of these fonts if they exist within each FontFamily. I'm curre...

How can I get the date but not time from NSDate

Hi. I need the date as a string but not the time and it has to be localized. So for example USA should be Sep 25 2009 but for New Zealand it would be 25 Sep 2009. I can get the date into a string by specifying the format "MMM dd YYYY" but It's not localized. Any ideas? ...