internationalization

I18N and L10N in WPF through XAML.

Hi All, If anybody know how to do the Internationalization and localization in WPF through only XAML. I have already done through WPF .cs file by using Resource Manager class. I would greatly appericiate, if anybody can guide me and given me the code samples. Thanks in advance, Cheers... Karthikeyan Manickam. ...

Develop multilingual windows application C#

I am asking about the common techniques which are used in c# to support multilingual interface in windows forms ...

What is a good data structure for cascading objects?

I have wondered what type of data structures and design patterns are used when implementing something like CSS where you can specify formatting or some other property at different levels of granularity. One specific example that I am working on at the moment relates to internationalization of an application. First of all English is the...

RightToLeft property in Form in C# (updated)

Dear all; Ok, what if I want to move the form title, icon and close,Help buttons from left side to right side (change the layout) I moved the form controls manually to keep background image but now I want to change the form title .. //------------------------------------------------------------------------------ When I set rightToLef...

Internationalization in the database

Do you guys think internationalization should only done at the code level or should it be done in the database as well. Are there any design patterns or accepted practices for internationalizing databases? If you think it's a code problem then do you just use Resource files to look up a key returned from the database? Thanks ...

Unicode characters in window caption

We're having trouble setting window captions using cyrillic or japanese characters. We either see question marks or random garbage, but not the text we want. We've tried using different encodings, SetWindowText(), SetWindowTextW(), SetWindowTextA(), and so on. We can't even get it to work by passing a string literal to SetWindowText(). ...

Easy UNICODE in C++

Is there a way to make all character sequences UNICODE by default? For instance, now I have to say: std::wstring wstr(L"rofl"); instead, I'd like to say std::wstring wstr("rofl"); Thanks! Visual C++ 8.0 ...

Using KDE4 localization mechanisms in pure QT4 application

Hi! I'm writing an application that is currently a pure QT4 app. It is designed to run cleanly on both Linux and Windows. However I plan to integrate it a bit into KDE in future and here come the problems with localization/translations. QT4 uses its own tr()/tr().arg().arg() mechanism and .ts/.qm files. KDE4 uses gettext and i18n/i18n...

Is it safe to assume that Spring MessageSource implementations are thread-safe?

Is it safe to assume that all implementations of org.springframework.context.MessageSource interface are thread-safe after initialization? I would expect that it's safe, but now I'm looking through Spring source code, and there's org.springframework.context.support.ReloadableResourceBundleMessageSource which reloads properties from time...

PHP: Locale aware number format

I want to format the number 3253454 for my website visitors. If I use the inbuilt number_format function, I get: 3,253,454 which is great for UK and USA, however most other countries use 3.253.454 I have many international visitors. Can anyone give me a pointer to the best practice here? Ideally I wish to get the browser's locale and...

Should identifiers and comments be always in English or in the native language of the application and developers?

Duplicate: Do you use another language instead of english Related: Coding in other (spoken) languages Given a programming language (such as Java) that allows you to use non-ASCII identifiers (class, method, variable names), and an application written for non-English users, by developers who speak English only as a foreign language at v...

How can I call ActivateKeyboardLayout from 64bit Windows Vista using VBA

Running VBA under XP I was able to call ActivateKeyboardLayout to switch my input language from English to another language. However, this no longer works under Vista64. Any suggestions or workarounds? The code that used to work under XP was similar to the following: Private Declare Function ActivateKeyboardLayout Lib "user32" ( _ ...

Programming Multi-Language PHP applications

Hello, I'm developing a PHP application and I'm wondering about the best way to include multi-language support for users in other countries. I'm proficient with PHP but have never developed anything with support for other languages. I was thinking of putting the language into a PHP file with constants, example: en.php could contain: ...

URL scheme for a multi-version web app

I'm looking for the best URL schema to use for a web app that has multiple versions, namely several languages and a simplified version for use by mobile phones - both aspects can be combined, so there's an English regular and mobile version, a German regular and mobile version, etc. Goals (in order of importance): User-friendliness Se...

Does there exist a publicly accessible parsable Country/Country Code list?

I find that I always find it useful to have a list of all Countries and their country codes. If someone provided it in multiple formats (eg: SQL, DDL, Xml, CSV, JSON, YAML...). I've found sites that attempt to sell a list of countries but that seems crazy to me. Is there an open source project that I'm overlooking? If there isn't does a...

Django missing translation of some strings. Any idea why?

I have a medium sized Django project, (running on AppEngine if it makes any difference), and have all the strings living in .po files like they should. I'm seeing strange behavior where certain strings just don't translate. They show up in the .po file when I run make_messages, with the correct file locations marked where my {% trans %...

Multiple Languages(English, French) on ASP.NET Page

Hi, I was just wondering what is the best way to handle multiple languages on a web page? Should I create an event in the load where I change the labels of all my controls to the approrpiate language text, or is there a better way? I am using .NET framework, thanks. ...

How do I handle date and time in different time zone ?

I'm developing an international software that act as a simple project management software and I'm facing a problem. This problem is about date/hour and time zone. When a message is sent from one time zone to another time zone I can store the UTC (GMT) time in my database and then have it displayed differently according to the user's time...

Problem with encoding in Django templates

I'm having problems using {% ifequal s1 "some text" %} to compare strings with extended characters in Django templates. When string s1 contains ascii characters >127, I get exceptions in the template rendering. What am I doing wrong? I'm using UTF-8 coding throughout the rest of application in both the data, templates and Python code wit...

MySQL internationalization with DCM4CHEE

I'm attempting to internationalize dcm4chee (a Java based open source medical imaging storage with system) with MySQL, and have a number of questions. Here's what I know so far 1. I need to change the character set from latin1 to utf8 (to support all the international characters) in the MySQL 2. I'm pretty sure I want to set the collati...