internationalization

Handling national signs like ą ę in url? - your option...

how do you handle them? ...

Reimplementing ToUpper()

How would you write ToUpper() if it didn't exist? Bonus points for i18n and L10n Curiosity sparked by this: http://thedailywtf.com/Articles/The-Long-Way-toUpper.aspx ...

How can I use GNU gettext with VB6?

I've been using gettext in several private projects and now I want to use gettext to translate strings of a Visual Basic 6 application. I've checked the GNU gettext packages and it seems that I have to write quite some boilerplate code to get it working with VB6 and I fear that my boss won't allow it. Is there some out-of-the box pa...

Should Microsoft avoid implementing a feature in .Net just because internationalising it is too difficult?

I raised a request over at Microsoft Connect regarding the formatting of dates ("DateTime Formatting should caluclate the correct suffix for the day"). Basically I wanted to have a formatting string code for adding the suffix to the day number. So "1 Jan" would be formatted "1st Jan" and "2 Jan" formatted "2nd Jan" etc. This is quite ea...

How can I translate the validation messages of Struts 2?

I want to learn how to use Struts 2 and I created a simple application following a tutorial I found. I've created a <MyActionClass>-validation.xml file and I wonder how can I translate the validation messages to multiple languages? <field name="password"> <field-validator type="requiredstring"> <param name="trim">true</param> <...

How should I structure resource bundle property files which are used by jsps?

I am currently working on converting an existing web application to support an additional language (namely Welsh). My proposed approach is to extract all displayed text into property files and then access the text using JSTL fmt tags. My question is: how should these property files be structured? I know they need to be on the classpath ...

I18n and Passwords that aren't US-ASCII, Latin1, or Win1252

How do you handle passwords for services when the user enters something that is best represented in Unicode or some other non-Latin character encoding? Specifically, can you use a Cyrillic password as a password to Oracle? What do you do to verify a user's password against a Windows authentication mechanism if the password is provided a...

How to figure out which timezone a (ASP.NET / MonoRail) website user is in?

So, I'm setting a cookie that should expire. However, I want this to work around the world. So I need to adjust my expiry date for the user's timezone. So, I need to find out the user's timezone, server-side. Is there a way to do this in the BCL? As in, something like relying on the CultureInfo.CurrentUICulture to be set correctly...

Random "virtualPath" error - Asp.Net application

The full error is - "Value cannot be null. Parameter name: virtualPath". This is occurring in our QA and Training environments (Win 2003 Server & IIS6) but of course defies recreation in a debugger. To make matters worse, despite a reasonable global error handler, no stack trace accompanies the error and nothing is written to the event l...

How do I do a regexp search against a Mandarin string?

How do I do a regexp search against a Mandarin string? ...

How to localize Content of a Django application

Hey, i am currently working on a django app for my studies, and came to the point of l18n. Localizing the site itself was very easy, but now i have to allow users, to translate the dynamic content of the application. Users can save "products" in the database and give them names and descriptions, but since the whole site should be localiz...

Search engines and browser accept-language

I'm building a web portal where language content will generally depend on the "accept-language" sent by the browser. The same content-URI will thus serve different content to different users depending on their browser setting. I'm very curious to know how this will affect search indexing. Does Google index using all languages, and is it...

How can I get started developing a site in Arabic in ASP.NET?

I would like to develop a website using ASP.NET in an Arabic language. What would be some good places to begin? Useful advice to keep in mind? ...

Is char* supported on Chinese / Japanese machines?

Hi, I am trying to create a DLL for authentication using Java and JNI. To create the DLL, I have created a Win32 application whose Character Set and Runtime Library information are Multi-Byte String and Multi-threaded (/MT) respectively. I have tested the DLL on WinXP with valid and invalid user credentials. Both work fine. I need t...

Font choices in International scenarios: multilingual vs unicode

I have a website that will eventually display multiple languages. I notice the common fonts used in web CSS (ex: Arial, Verdana, Times New Roman, Tahoma) and even the newer Vista/Office 2007/VS2008 fonts (Calibri,Cambria, Candara, Corbel, etc) are significantly larger (~350K) than your average (US only?) TTF font (~50k) so these fonts c...

Good Solutions for Managing Multiple Languages in a project.

We have a need to manage a large number (approx 20+) languages for our application. For previous projects that required fewer languages (3 - 4) we used a simple excel spreadsheet that we sent to various translators and they filled in the translations for the strings. With this many languages and the need to involve multiple translators i...

Terminology used for language and culture-aware software

I have always thought that the terms "internationalization" and "localization" (and their funny abbreviations i18n and l10n) were universally accepted and used for talking about software which is aware of language and cultural differences. But I recently read a question on SO about these subjects which referred to something called "globa...

Best way to parse a string to a float with both "," and "." as fraction separator? (For a number < 5)

This is kind of related to my previous question, but not really. I have an input of which I don't know the culture. So it can both use ',' and '.' as separator for the fraction. The number will never be >5 though, so we can be rather sure if there's a separator, it will be for the fraction. I was looking at the TryParse method. It accep...

AddExtensionObject - Performance

.NET XSLT engine allows passing objects to the XSLT processing engine through the AddExtensionObject method. Can someone comment on the performance of using this to retrieve localized strings to be used in the XSLT? ...

SDL or PyGame international input.

So basically, how is non-western input handled in SDL or OpenGL games or applications? Googling for it reveals http://sdl-im.csie.net/ but that doesn't seem to be maintained or available anymore. Just to view the page I had to use the Google cache. To clarify, I'm not having any kind of issue in terms of the application displaying t...