localization

LoadString, static library and executables

My project is set up so all the framework code and modules are compiled to a static .lib (let's call it framework.lib), and many test projects use framework.lib and compile to executable files. For error handling, I'm trying to put the resource strings in framework.rc (part of the framework.lib project) and load the strings in the exe...

Visual Studio resource editor: there can only be one string table?

I created a string table in my .rc file containing my English strings - now I need to add another string table for a different language. If I try to do: Add Resource... -> String Table -> New I get the error: "there cannot be more than one instance of this type". I know I can open up the .rc file in notepad and add language in th...

Localization issues PropertyEditor

I am using PropertyEditor in .NET 3.5 application to allow users edit settings contained in some serialized class. This application requires localization to support multiple languages. Localized strings implemented using standard .NET Resources. PropertyEditor requires category, display name and description to be set via attributes. Exa...

Alternatives to gettext?

Are there any general localization/translation alternatives to gettext? Open source or proprietary doesn't matter. When I say alternative to gettext, I mean a library for internationalization, with a localization backend of sorts. The reason I'm asking is because (among other things) I find the way gettext does things slightly cumbers...

How do I feed the language culture thread into the helper class

Hi everyone, With asp.net MVC 2, I have been trying to get Matt Hawley's Localization helper to work in my web application, but I am getting stuck feeding a null into the Language string variable. I can't figure out why I am doing this. namespace MvcLocalization { public abstract class LocalizedControllerBase : Controller { public ...

Country agnostic academic level representation

Hi guys, my product owner came to me with this problem: Our application supports multi-language and is used by users in different countries. OK! On a form the user is asked to supply the academic level of a person. OK! The problem is that academic levels do not exactly match between countries. I suggested we define agnostic levels and...

.NET Localization without directory structure

I'm working to build a .NET program with WPF that will need to be localized. I have looking into localizing the app with LocBaml and by using .resx files. However, both of these options require a specific directory structure to be in place. I would like to deploy the program using IExpress (wikipedia) to allow the end user to download a ...

What localization code should you use in XCode for the "Mexican Spanish" locale

In iTunes connect, you can submit Spanish and Mexican Spanish localizations. I'm using the "spa" locale for Spain (Spanish), but "spm" doesn't work for Mexico in the simulator. Ideally I think I'd like to use a locale code that would work for all latin american countries Spanish, as I think they prefer the Mexican variant. What is the ...

Does NSString Support Non-Standard/Non-English characters?

I am using an xml parser to populate an array. This string: 'Calle Mare de Déu de' generates an exception at [NSPlaceholderString initwithstring:]. On Snow Leopard (10.6) it reports a nil argument while on Leopard (10.5) it throws an exception but reports no error. When I replace the string 'Calle Mare de Déu de' with 'Calle Mare de Deu...

iPhone Fetch Request with localized sorting

I'm trying to get sorted localized data from a core data model. My code: NSEntityDescription *entityDescription = [NSEntityDescription entityForName: entityDescriptionValue inManagedObjectContext: context]; NSFetchRequest *fetchRequest = [[NSFetchRequest alloc] init]; [fetchRequest s...

Changing UI language on-the-fly

I need to support UI language change through the application menu. Localized strings store in resource files. I use this approach. It works fine, but I one problem. How I can change UI language on-the-fly, without reloading application? I try to google this problem - many advises to implement INotifyPropertyChanged interface. But, I st...

Problem with language specific resource files in a class library project.

I'm working on an ASP.NET MVC 2 application and use a seperate class library for my model. I used resource files in my class library project to embed validation messages and use it in my meta data classes and everything was Ok till I decided to add a new language to my project so I renamed Resource.resx to Resource.en-US.resx and also co...

VB.NET Localization

How can i make my app in a different language, so people can select another language, I need to translate some buttons, textboxes and labels. Is there a easy way for this? ...

What is the optimum way to display language selection?

When it comes to language selection there are several approaches: all langs in English all langs in their own language - this can put you in a difficult situation when you want to switch to your language but you don't know what each language in its own language lang in current language (lang in its own language) - this is the most comp...

Problem with globalization of ASP.NET MVC routes.

I tried to use the solution explained at http://weblogs.asp.net/paulomorgado/archive/2010/01/31/web-site-globalization-with-asp-net-routing.aspx to localize my application using the language parameter in my routes. Here's the code I have in my Global.asax: public static void RegisterRoutes(RouteCollection routes) { routes.I...

Codeigniter language

Hi. I wanna make a multilanguage website, but I do not want that the language appear in URI like example.com/fr/about (I do not want this). I just want to change the text language. My problem is that the first load language that I do is for ever. why? If I do: $this->config->set_item(‘language’,‘english’); $this->lang->load(‘messages’);...

iPhone Localization Korean, Japanese Codes

How do I find the localization codes for Korean, Japanese, German? I want to localise my app in these languages. Does it matter what code I use in Xcode? When I add a new localizable.strings file? There's an option "Add new Localisation". Korean & Japanese are not listed. Does Xcode need a specific localization code for it to wo...

Zend_Controller_Router: Get language from translated segment

I want to use a URL rewrite on my site: /:@controller/:@action/ So I want to use translated segments on route and I want to detect requested language from these translated segments. For example, if user request a url like this: /user/profile/ then I could understand that requested language is English. And if user request a url like...

SendInput sequence to create unicode character fails.

I'm working with an on-screen keyboard that needs to send key strokes to a third party application. They are running on Windows XP. A small set of characters that are not available on the US English keyboard need to be supported (such as "å" or ñ). After reviewing SendInput it seemed like the safest thing would be to send the hex unicode...

Builder 2010 localization problems

I cannot localize a Builder C++ 2010 application. Even following the directions in the help file. Here is what I do: create a VCL Forms application. add the german language. add the german translation of the form caption using the translator. set my active language preference to german (project->language->set active...). build and r...