localization

WPF Localization file folder

I have a WPF application with localization. In my project file (.csproj) I have added a string: <UICulture>en-US</UICulture> Now the problem is - when I compile the default localization (en-US folder) is always put to the root of $(OutDir) of the project. Question: how do I move this directory into a subfolder (say, $(OutDir)localize...

Find all source hardcoded strings

I need to move all the hard coded strings in my source code in .resx files. There is a tool that could help me find all the hardcoded strings within C# code? ...

Web Application Translation, methods and tools

I've developed a web application. It needs to be translated to languages other than English in the future, and ideally the translators shouldn't need to know HTML/JS/C++ to provide the translation. The server side of the web application is written in C++ and the majority of the localised text is in the HTML files. My question is: What a...

If you have an application localized in pt-br and pt-pt, what language you should choose if the system is reporting only "pt" code?

If you have an application localized in pt-br and pt-pt, what language you should choose if the system is reporting only pt code (generic Portuguese)? This question is independent of the nature of the application, desktop, mobile or browser based. Let's assume you are not able to get region information from another source and you have ...

Opera IME support

Hi, i am currently trying to get Input Mode Editor (IME) support working with a designMode enabled IFrame. The problem here is with Opera it seems I don't get any useful notifications from the IME. It seems I get a single keydown with a keycode of 197 if the first time the IME is used - and nothing else ever again (No keycode 229 messa...

Find localized Windows strings

I need to find some strings that the current version of Windows is using. For example, when I create a new folder, it is initially named "New Folder" on English Vista. I need to programmatically find what that folder would be named on any language and version of Windows that I might be running on. Anyone have any ideas how to do tha...

Ho to get month/weekday symbols from NSDateFormatter in current language (iPhone)

In particular I'm interested in shortStandaloneWeekdaySymbols. I'm using this code: NSDateFormatter *dateFormatter = [[NSDateFormatter alloc] init]; NSArray *shortWeekdaySymbols = [dateFormatter shortStandaloneWeekdaySymbols]; But if iPhone region format is set to US but language to French/German/any other, NSDateFormatter returns Eng...

Localization of accesskeys in internet explorer

We have an enterprise web application that we are converting from english to Thai. One area that has got us stumped is on the issue of "access keys". We use the "Accesskey" attribute in IE to provide short cuts to our buttons. However, how do we do this in Thai? Does HTML and IE support unicode access keys and if so how? Our application...

Is it "right" to translate error messages?

This is somehow subjective depending on the target translation language, but bear with me for a sec. I have recently been involved in a translation project. The goal was to translate the strings of an MVC framework to the Greek language. 70% of the language strings of the framework where translated, however 30% where intentionally lef...

Multilingual Flash

How do you make a Flash movie (using Haxe, or Actionscript code rather than the IDE) that supports multiple languages? Can you detect the browser's language? Are there utility classes for managing the strings and selecting the appropriate one based on language? ...

apply zooming in android device

Hi i want to zoom in and out during capturing image i open camera by using Camera class how i can apply zoom before capture the image thanks in advance sunny ...

Localization: How to allow the user to define custom resources without compiling?

In our application, we have a collection of data items, each with a DisplayedName property. This property should be localized, i.e. it should be displayed in the language selected by the user. Therefore, another property, DisplayedNameResourceKey, specifies which resource should be returned by the DisplayedName property. In simplified c...

RIA Services Localization, where to place Resource Files

I have the following Solution: SomeProject.Ria (non Silverlight code) SomeProject.Ria.Silverlight (Silverlight light code, namespace is still SomeProject.Ria) SomeProject.Ria.MyServices (RIA Services Domain Service) SomeProject.Ria.MyServices.Proxies (RIA Services Silverlight Generated Code) SomeProject.Shell (Silverlight Applicaiton) ...

Cakephp Localization, Cannot Change language when DEFAULT_LANGUAGE is set

I am confused :) I'm using the p18n component in cakephp found here: http://www.palivoda.eu/2008/04/i18n-in-cakephp-12-database-content-translation-part-2/ This component requires me to set in core.php the following constant: define("DEFAULT_LANGUAGE", 'eng') However when this is set I cannot change the language using: ...

How to generate a .po file?

On Windows using WAMPserver (Apache, MySql, Php) I have the following: //test.php if (!defined('LC_MESSAGES')) define('LC_MESSAGES', 6); $lang = "sv"; putenv("LANG=$lang"); setlocale(LC_ALL, $lang); $domain = "messages"; bindtextdomain($domain, "./locale"); textdomain($domain); echo _("This is a string"); It works fine, i.e. it out...

Get content type in localized site

In MOSS2007 I need to find and remove for example the default content type from a list (in order to be replaced by a custom one). The list can be on multiple sites, the sites can be in multiple languages and the name for this content type can be diffrent (ex: "Wiki Page" in EN, "Wikipagina" in NL etc.) My ideea was to find the content ty...

Any collaborative tool/website to localize an Android app?

My open source Android application has internationalization done the Android way, with strings.xml files. The community has many people from many countries, and they are willing to contribute/improve translations using a collaborative website. There is Launchpad but it only supports the gettext format so we would have to use scripts, n...

ASP.NET Localization - use default resource

I am running into trouble given the following setup: Operating System is Windows 7 English, Format is German (Germany), Location is Germany My Application (MVC2, .NET 4) contains 2 Resource-Files, Labels.resx (containing German content) and Labels.en.resx (containing English content) CurrentCulture and CurrentUICulture are set to de-DE...

Problem with extended ASCII characters in web page/master page

I have some localization problems in my webpage. There are basically two problems (that I suspect have a different sulution, but they are conseptually linked) First problem is this: I have a website that is using a master page. All text from the page is fine, but all text that comes from the master page file, get scrambled norwegian c...

VB.NET localization

In my winform app in VB.NET I want to use the localization option. But i have a few questions/problems. I'm using a menu strip to select an other language. But it seems that is doesn't change my menustip text to my selected language. It does change my labels, buttons, and textboxes but menu strips don't seem to change when I choose ano...