localization

WinForms - Localization - UI controls positions different in additional Culture

Hi, I did my UI settings.Original language is English. After that I set Localizable property to True. Copied original resx file to frmMain.de-De.resx (for example). Translated all strings. Everything works. But now I would like to change positions of controls. After that changes are visible only for original/primary Culture (En). When ...

Override a resource from standard assembly in ASP.NET

I want to override a string from a System.ComponentModel.DataAnnotations for an ASP.NET project. Do I need to make a satellite assembly, messing with custom build tasks, al.exe etc.? Even if yes, I couldn't find how to convert .resx to .resources to feed it to al.exe. And if no, where to put the .resx. and how to name it? UPD: To make i...

Subfolders in App_GlobalResources (ASP.NET)

Is it possible to put resource files (.resx) within subfolders inside App_GlobalResources? For example: /App_GlobalResources/someresources/myfile.resx /App_GlobalResources/someresources/myfile.fr-fr.resx /App_GlobalResources/othereresources/otherfile.resx /App_GlobalResources/othereresources/otherfile.fr-fr.resx Or,...

Should I replace string patterns in asp.net mvc using a custom viewengine?

Have an ASP.NET MVC site that is localized. The localization functionality adds the two digit language ID to the URL, e.g. /es/Page. If no language Id is found in the URL, the site switches to the user's browser culture. All's good. However, the site's hyperlinks, a mixture of hard-coded href tags, actionlinks, etc., don't include the ba...

VCL form and control font settings under Russian version of MS Windows

I have a Borland C++ Builder VCL app (so I am not working with Unicode yet), I want to provide a simple translation of controls' caption text to Russian at runtime. I can easily use EnumChildWindows to get the English caption, then lookup the translation and replace the caption text using SetWindowText. This does work well for my weste...

How to split mobile number into country code, area code and local number?

How to split mobile number into country code, area code and local number? e.g +919567123456 after split country code = 91 area code = 9567 local number = 123456 ...

How to localize an app on Google App Engine?

What options are there for localizing an app on Google App Engine? How do you do it using Webapp, Django, web2py or [insert framework here]. 1. Readable URLs and entity key names Readable URLs are good for usability and search engine optimization (Stack Overflow is a good example on how to do it). On Google App Engine, key based querie...

How to use the Request URL/URL Rewriting For Localization in ASP.NET - Using an HTTP Module or Global.asax Code

I wanted to see if there is a way to use the request URL/URL rewriting to set the language a page is rendered in by examining a portion of the URL in ASP.NET. We have a site that already works with ASP.NET’s resource localization and user’s can change the language that they see pages/resources on the site in, however the current mechani...

Error from GetSatelliteAssembly called on assembly that lives outside AppDomain paths

Hi there The purpose of my application is to pick some localized strings from an assembly. Part of the specification is: The assembly is to be selected by the user at run-time The assembly is private one, i.e. not registered with GAC The code I came up with is: Assembly resAssembly = Assembly.LoadFile(@"X:\PathToApp\Assembly....

Best practices or resources for Localization in vanilla ASP.NET?

I'm about to begin work on translating client's website into spanish and french and looking for resources on Localization with ASP.NET. There are millions of hits in Google and almost all of them go back to 2005 and ASP.NET 2.0. Is there anaything new in regards to localization in 3.5 and VS2008? Any tips or recources with common practic...

What's the smartest way to organize SVN for translated versions of the same project?

I apologize because I know this has been covered over and over again, but I'm trying to understand the smartest way to cleverly use subversion to our benefit. (*Note: I know our method is not the BEST way to handle localized versions, but external factors are forcing us to work this way on current projects) We have a fairly static webs...

Localize jQuery Date Picker using the Zend Framework

I am trying to create a datepicker using a different locale than English. According to the jQuery manual I need to add the line: $("#datepicker").datepicker($.datepicker.regional['fr']); to $view->jquery()->addOnLoad(). The code is output and runs without any errors, but the month and day names are still in English. Is there some sim...

How to disable localization of errors in Visual Studio?

I use Visual Studio 2008 and it really makes me crazy how it shows error messages (in Error List window, Output window - especially exceptions) partially in English and partially in my native language. Interestingly, it is worse in WPF than in WinForms project. I've read here that it is about Culture of the running thread (so that the pr...

ASP.NET MVC 2 Localization/Globalization stored in the database?

Hello I've been searching for a while for a good example of localizing an C# ASP.NET MVC 2 application but storing the data in the database instead of .RESX files. Unfortunately I've had no luck finding a good example and was hoping someone else may know and could point me in the right direction? Many thanks for any help/advice/articl...

Dynamic localization with Data Annotations possible?

Hi, I'm trying to dynamicly update the language of a Silverlight application. I tried the example provided by Tim Heuer and that was exactly wat I needed. Silverlight and localizing string data Now I'm experimenting with Data Annotations and would like to have the same behaviour.But with no luck... Can someone point me in the right d...

How can i localize asp.net mvc application using a external assembly

i want to create a external dll to store my .resx files. i want to do this because i need to access this files from both presentation and business layers. I have created a external project that contains the default and the es-Es resx files. i have mark it as PublicResXFileCodeGenerator to be able to access it from another dll. on my v...

how to convert string to double with proper cultureinfo

Hi All, I have two nvarchar fields in database to store the DataType and DefaultValue, I have a DataType Double and value as 65.89875 in english format. Now I want the user to see the value as per the selected browser language format (65.89875 in English should be displayed as 65,89875 in german). Now if the user edits from german for...

QLocale, what is the scope of the global QLocale::setDefault()?

Problem: I have a QT based multiplatform (win,mac,*nix) application that parses ascii files containing decimal numbers. parsing is done using a variety of different code pieces that use anything from qt string stuff, c++ stdin, oldstyle scanf, etc. ascii files have always the '.' (dot) as separated decimal (e.g. in the file to be par...

Is it possible to localize the appSettings information in web.config file?

I have something like this in mind: <appSettings> <add key="ConfigName" value="configuration" culture="1033" /> <add key="ConfigName" value="konfiguracja" culture="1045" /> </appSettings> but the add element has only 2 attributes - key and value, so I guess it's not supported. Next thing that comes to my mind is: <appSettings> <a...

How to add ANY language in app description on AppStore? Tremendous impact on downloads!

By submitting my application when I want to create application description in my national language (SLOVAKIAN) there's no choice to do so on Localization tab. There's only main languages: French, German, Spanish and so on... But I know there are applications on Appstore with Slovakian language description (of course on Slovak AppStore)....