localization

Introductory learning resources for .Net globalisation/localisation

Hi, I am trying to find some good articles for .Net developers on how to ensure Winforms apps work correctly for non-English users. Articles explaining potential pitfalls and advice on how to test for these pitfalls would be perfect - but I haven't yet found any yet. Areas I am most interest in are: decimal amounts, Dates and setting ...

Is there a DateFormatProvider that will use Windows localization information?

I'm writing a java gui application that has to display dates. Since this application is primarily going to run on Windows systems, I would like to be able to use date & time formats that correspond to the Windows localization settings. I found DateFormatProvider class, in Java 6, which gave me high hopes ... but I haven't found an impl...

PHP PECL extension intl giving garbled results for Swedish ordinal numbers

I'm using the PECL intl module to localize dates and numbers in a PHP project. In all other languages I'm using (40), localizing ordinal numbers works fine. In Swedish, however, I get strange output. It appears to be the template constants used to generate the ordinals. $fnf = new NumberFormatter('sv_FI', NumberFormatter::ORDINAL); echo...

How to switch UI Culture of data binding on the fly in Silverlight

I have a TextBlock control, which is data bound to DateTime property. The text displayed something like this: Thursday, October 21, 2010 I need to switch UI Culture on the fly, using something like this: Thread.CurrentThread.CurrentCulture = Thread.CurrentThread.CurrentUICulture = new CultureInf...

Can I use a satellite resource assembly for one language in the OS for another language simply by changing the name of the folder the dll appears in?

If I compile a .NET satellite assembly with localised resources, does the assembly itself know which language it is for, or is this implied in the folder in which it appears? If I decide to create a localised assembly where all strings are enclosed by '@' symbols for testing if all of my app is localised and then install that on an EN-G...

Ensure international format for phone numbers provided by an Android app?

Hi stackies, the users of my app will provide me the recipient's phone numbers of the text messages they will be writing. How can I ensure the usage of the international phone number format when the user provides a NATIONAL format while sending a message to a person who is located in his own country? Would I have to actually KNOW all t...

How to localize Flex/Actionscript "enums" to ensure bindability?

I have a simulated enum as follows: public class Sport { public static const BASEBALL:Sport = new MyEnum("Baseball", "Baseball ..."); public static const FOOTBALL:Sport = new MyEnum("Football", "Football ..."); public var label:String; public var description:String; public function Sport(label:String, description:S...

wpf localization

Which is the best third party tool available for wpf application localization. ...

WPF and Localization...

Hi, I've a quite obvious problem. Here's the situation: - my WPF application is primarily written in German - I've to use resx-files (standard way in the company) - the fallback-language must be English. - the german resources are the base for all translations (including English) I've tried many combinations with "[assembly: NeutralReso...

How to make C# write English (non-localized) number format by default?

I'm using English Visual Studio 2008 on English Windows 7, but I'm based in the Netherlands. A lot of my programs need to read and write floating point numbers. Compared to English, the Dutch notation of numbers switches the meaning of dots and comma's (i.e. 1.001 in Dutch is a thousand and one, and 1,001 is 1 + 1/1000). I will never eve...

Tools to speed the generation of locale files (for rails)

I'm involved in preparing a pre-existing rails application for translation - going through the files under app/views/, finding the text, making a key in config/locales/de.yml (in this case), copying the text into de.yml, and putting t("key") in the view file. Repeat hundreds, maybe thousands of times. This is very tedious. I don't think...

Is it common to localize you iphone app? Do you localize by default?

Trying to settle a debate with a client. I didnt localize the strings and images in the application and it didnt come up during the 3 week define and discover. They seem to think its a basic best practice and that it should have been done by default. I disagree, especially if there are no planned languages otw. Seems like you would leav...

oracle and i18n support

We have a requirement to store char data of different language in the same db schema. Oracle 10g is our DB. I am hoping that someone who have already done this would give me more specific instructions on how to i18n enable a oracle 10g db. We just need to store the data from multiple locales as well as collation (hoping all major db's su...

How to avoid default URL encoding in ASP.NET MVC Html Helpers like RouteLink

I want my url like this: "http://domain.com/tag/高兴" My route mapping: routes.MapRoute("Tag", "tag/{name}", new { controller = "Tag", action="Index" }); But Html.RouteLink will encode the parameters as default. If I use Html.RouteLink in my View, the generated html is: <a href="/tag/%E9%AB%98%E5%85%B4">高兴</a> Is there any way to a...

Why is my iPhone application not using the proper localization?

I have an iPhone application that initially had only English and German localizations. I just added a French localization, but when I change the user language to French it still shows the German strings. What could be causing this odd behavior? ...

asp.net: using resource expressions with the resources in a separate project.

I'm pretty sure this is something super easy, but how do i access a resource that is in a separate project using the expression syntax? I thought it would be like so: <%$ Resources:SomeNamespace.Resources.Web, PleaseSelectAnImage %> where SomeNamespace.Resources is the project that the resources are located in. i normally just do <%=...

winform localization

If there are hundreds of form and 20-30 projects in the application and during localization the number of .resx files generated will be very high. Is there any way to organize the .resx files and satellite assembly? If I move the .resx file to common assembly then the design time support for previewing the form is lost. Is there any st...

Locbaml /generate gives error "Type reference cannot find public type named '...'"

Hi, I'm using Locbaml to generate localization files in my WPF application. Yesterday, I've upgraded my solutions from VS2008 to VS2010, and since then Locbaml throws an error in two of my assemblies saying "Type reference cannot find public type named 'String'." in one assembly and "Type reference cannot find public type named 'Int3...

Localization in Silverlight

how do I use localization in Silverlight? since there are no local resource files in silverlight like ASP.Net. I am stuck at how would I do this? any ideas? ...

ASP.NET Localization Not Working for me

I know I'm doing something fundamentally wrong, but I can't quite figure it out... I have 2 resource files in my App_GlobalResources folder: Global.resx and Global.fr-CA.resx. I have the following label on my webform: <asp:Label ID="Label1" runat="server" Text="<%$ Resources:Global, Test %>" /> When I run the form, it displays the v...