localization

Is there a best-practice approach for internationalization of an application?

We need to have our apps be translated into other languages. This entails renaming the .text properties of our visible controls as well as other literals found within our apps to whatever language we need to translate into. Is this something that can easily be accomplished with .resx files? I was thinking of creating a master resx key...

How to localize static content in database with Django

My app has tables for languages and countries (actually django-countries at the moment, but open for suggestions). The tables are populated when I initialize the database and remain static after that. What would be the ideal localization mechanism for the contents of these tables, so that I can show the country and language names to us...

Saving XML in UTF-8 with MSXML

I'm trying to load a simple Xml file (encoded in UTF-8): <?xml version="1.0" encoding="UTF-8"?> <Test/> And save it with MSXML in vbscript: Set xmlDoc = CreateObject("MSXML2.DOMDocument.6.0") xmlDoc.Load("C:\test.xml") xmlDoc.Save "C:\test.xml" The problem is, MSXML saves file in ANSI instead of UTF-8 (despite the original file ...

How to localize win32 dialogs?

I am working on Win32 dialogs with various controls like Static Text , Checkbox etc and all the strings need to be localized for different languages. I have designed the dialogs for US intl . But when I put localized strings those, not fitting properly and I have to change layout for each intl. Is there a better way to do this? Can I c...

ASP.NET meta:resourcekey

I want to use two meta:resourcekey in single control is it possible? for example "< asp:LinkButton meta:resourcekey="ImageUrlKey1" meta:resourcekey="ToolTipKey1" >" Thanks, Piyush ...

How can I make the Rails 3 router localize URLs using localization files?

What I'd like to be able to do is: in config/routes.rb resources :posts in config/locale/en.yml en: resources: posts: "posts" new: "new" edit: "edit" in config/locale/tr.yml tr: resources: posts: "yazilar" new: "yeni" edit: "duzenle" and get I18n.locale = :en edit_post_path(3) #=> /posts/3/edit I18...

Crm 4.0 Custom Page (isv) how to get the current crm UICulture

I have a custom page (isv) used in a crm 4.0 solution (through IFrames) and I want it to support multiple languages. I have localized it using resx files, but the UICulture defaults to english event though I have changed it to danish (according to System.Threading.Thread.CurrentUICulture). How do I get the culture of the current user? ...

Enhance Localization performances? (ComponentResourceManager.ApplyResources)

Dear all, After experiencing some performances issues on my client side, we decided to give a try to some of the performance profilers to try to find the bottleneck or identify the guilty parts of the code. Of course, as many performance investigations, the problems comes from various things, but something I find out is that the Compone...

VS 2008 does not understand .resource files

I'm trying to add globalization support to my C# application. According to MSDN, there should be one embedded resource file for neutral culture and satellite DLLs with resource files for other cultures. I've created 2 satellite DLLs without any problems and got my app to automatically load right one using ResourceManager. But I can't em...

How to make Multilingual Website in asp.net MVC?

I don't understand where to put the Resources and how can we take the value from that? ...

Apache on linux and i18n : spawning processes or threads ?

Hello, I would like to understand better exactly what is going on when Apache on linux receive an HTTP request in a process pre-fork model. Let's say we have 20 Apache child processes waiting. When I receive an HTTP request, is it true to say that 1 child process will be chosen to handle the request and that this process won't handle a...

DateTime formatting in SSRS ReportViewer always uses en-US?

I'm having a show-stopping issue with the ReportViewer component that's part of SSRS. I'm working on a WinForms application and have a couple of local reports that show DateTime values from the database in various locations. Regardless of how the formatting is done (no formatting at all, using "d" in the Format property, or using FormatD...

What's the best way to deploy localization resource files with Visual Studio?

For my *.resx files in App_GlobalResouces, what should the Build Action be? The defaults for creating a new resource file have Build Action as "Content", Copy to Output Directory as "Do not copy", and Custom Tool as "GlobalResourceProxyGenerator". On certain servers I get an runtime error: "CS0101: The namespace 'Resources' already cont...

Localizing iPad applications

I am creating an iPad application, and I have a Localizable.strings file, which is in English and Dutch: English.lproj/Localizable.strings "failed to copy file" = "Failed to copy file"; "failed to copy defaultFeeds.plist" = "Failed to copy defaultFeeds.plist form the application's bundle to the device's documents directory for this app...

Shortest way of determining a name ends with an `s`, `x` or `z`, and then use the `I18n.t` method with it.

I'm creating a Rails application where users can have a first and last name. Since I'm a perfectionist, the application may not show something like Dennis's profile or Xianx's profile, but rather Dennis' profile and Xianx' profile. I use I18n, so I wanted to ask what is the shortest way of implementing this? This grammar is the same for ...

Is there any way for getting the direction of writing in specific culture?

Possible Duplicate: Is there any way to determine text direction from CultureInfo in asp.net? I want to get writing direction of any culture that user select in my application. for example I want to get rtl when my user use fa-IR culture and get ltr when en-US is selected. Is there a built-in solution for this in .NET? ...

How to remove localization .NET Framework of russian?

I installed Windows 7. Install Visual Studio 2008 with .Net Framework 3.5. Then Russified Windows. And after this error message in Visual Studio suddenly appearing in Russian. How can I remove a Russian translation for error messages .NET Framework? ...

Localization text when using the gamekit bluetooth (iphone)

Does anyone know why when changing the language on the iphone, the bluetooth message does not change? thanks ...

Tips on refactoring existing .net applications to support localization?

We're going global. I've been tasked with refactoring our existing products to support localization. Last week I shunned using resource files (.resx) in favor of a home-baked database look-up method. After hitting a serious snag with that, I'm back to the microsoft way of using resx. All the documentation I've seen so far details how...

How to use routing in a ASP MVC website to localize in two languages - But keeping exiting URLs

We have a couple ASP MVC websites just using the standard VS templates default settings - Working as wanted. But now I want to localize these website ( They are now in Dutch and I will add the English language ) I would like to use routing and not Resource because: 1. Languages will differ in content, numbers of pages, etc. 2. The conte...