I have a database full of translations I'd like to generate either .po or .mo files. I'm using C#, but I could also port an implementation from PHP if one exists. I can't find any examples in any languages using anything other than GNUs gettext utilities. Does anyone know of one?
...
I need a good Unicode library for C++. I need:
Transformations in a Unicode sensitive way. For example sort all strings in a case insensitive way and get their first characters for index. Convert various Unicode strings to upper and to lower case. Split text at a reasonable position -- words that would work for Chinese and Japanese as ...
I have an app which is for a global market and needs to be localisable. During development I had some problems in that my satellite assemblies never seemed to be picked up even when I changed my locale. After some research I now understand why this is and was able to test by setting the CurrentUICulture in the code and verify that thin...
I'm working in a multi-language application using ResourceBundle in Flex 3. I'm displaying data in a DataGrid and defined DataGridColumn headerText like this
headerText="{localizedHeaderText('LABEL_USER_NAME')}
this function returns the localized label for the username, but when I dynamcally select another language evertying gets refr...
At the moment, all of our localised texts are stored in resource files and then referenced using <% $Resouces:Something %>. Unfortunatly this method is not scaling too well, were getting lots of diff problems & the files are becoming rather big. Does anyone know of a better solution for localisation? Or is resource file's all I've got in...
Asp.net-MVC now allows for implicit binding of DateTime objects. I have an action along the lines of
public ActionResult DoSomething(DateTime startDate)
{
...
}
This successfully converts a string from an ajax call into a DateTime. However, we use the date format dd/MM/yyyy; MVC is converting to MM/dd/yyyy.
For example, submitting a...
When should I use .resx file and when go for .config file?
What is the basic difference between the both in terms of usage?
...
Howdy,
I have a web application which needs to support multiple languages. We currently have quite a lot of images on the site with text in them. Im trying to find a way to localize these images with the least amount of hassle. What i have come up with so far is to add sub folders to the current /Images folder which relate to the requ...
Is there a way to test different languages in a Windows application without changing the localization of the OS or adding code to the application to forcibly change the current culture?
Perhaps some type of a launcher that will launch the application with a specified culture?
...
Let's say I have a number in the german number format "1,00" which is equal to 1.0 in the en-US locale.
Is there a built-in way to convert this text in T-SQL to the corresponding number? It seems like CONVERT and CAST accept only numbers with '.' as the decimal separator and I see no way to tell them otherwise.
I was thinking about sim...
I'm working on a site that lets users add calendar entries, on the main page all users can then see these entries with some text saying how long until those entries are current for example
Entry 1 : 5 Minutes
Entry 2 : 7 Hours
Entry 3 : 4 Days
The problem I'm having is that everyone could be in different timezones. I've decided I want ...
I have a custom winforms control (inherits from Component) that has some strings displayed to the user.
How can I make these strings accessible so the user of the component can customize them, and - if he wants - easily put them into a resource for localization?
I thought of exposing them as browsable properties so they can be customi...
Hi,
I am designing a localized web app. I am leaning on auto-detect browser language setting. But I notice a number of respectable sites asking the user to select a language. Is there any usability issue you know of (from actual experiences out there) with just auto-detecting user language?
Thanks.
...
I'm designing a multilingual application using .resx files.
I have a few files like GlobalStrings.resx, GlobalStrings.es.resx, GlobalStrings.en.resx, etc.
When I want to use this, I just need to set Thread.CurrentThread.CurrentCulture.
The problem:
I have a combobox with all the available languages, but I'm loading this manually:
comb...
I use Lucene.net for indexing content & documents etc.. on websites. The index is very simple and has this format:
LuceneId - unique id for Lucene (TypeId + ItemId)
TypeId - the type of text (eg. page content, product, public doc etc..)
ItemId - the web page id, document id etc..
Text - the text indexed
Title - web page titl...
I am building a class that represents a US State or Canadian Province. What should the class be called?
Some ideas:
Region: Problem with this is that .Net has a RegionInfo class that uses the term Region to represent a country (and not a State or Province).
State: Problem with this is that it could cause confusion with Application St...
I'm working with an ASP.NET app with localization and globalization. I'm having some difficulty understanding how to get the Date() function in javascript to work properly given the user's environment. My user base is split between Mexico (spanish) and the US (english). Since the Mexico date format is dd/mm/yyyy and the english format...
Hi All,
Any suggestion for a tool to test internationalized/ localized application? The application's UI is through web interface. The localized strings are stored in xml files.
Best regards
...
If you do ResourceManager.GetString(Key), you can get the value of an item in a resource. Is there a way to do a reverse lookup to get the key from the resource given the value (essentially de-translate)?
...
I have an asp.net 2.0 web application that is calling class library. A fairly common scenario to be sure.
The class library is making use of a number of resource files and a ResourceManager object to set localised strings. This works absolutely fine in most circumstances based on the user's browser settings.
However there are some circ...