I'm in the process of converting a couple of sites up to .net 4.0 and I seem to have a problem with regionalisaion of dates.
This code:
Date.Today.AddDays((Date.Today.DayOfWeek - 1) * -1).ToString()
In .net 3.5 produces: '19/04/2010 00:00:00'
but as soon as I change the app pool to 4.0 it produces: '4/19/2010 12:00:00 AM'
Where can...
I'm building a website that needs to support different language translations. I have strings in PHP, JavaScript and Smarty Template files that need to translated.
I want to use something like PHP's gettext() function and have a single language file for each locale.
This is easy when the translatable strings are in the PHP files but I ...
When connecting to sql server, I have the hardcoded string "(local)". Is this a string I need to make available for localisation? ie, does (local) always work no matter the current language settings?
...
Hey guys,
i started to write a mini diagnostic tool for a few friends of mine. I want to collect system information via msinfo32.exe and using the report switch, so i can write a normal txt file. After that, i want to remove some categories (e.g. error reporting and start menu, because it is so much stuff), but I ran into some problems ...
Hi,
I need to determine whether there is a resource file for the given CultureInfo or not.
Is there an easy way?
Regards
...
In Visual Studio 2008, develop legacy windows form (not wpf), I wrote customized resource manager which fetched data from sql server rather than assembly. In windows form, there is property related to language setting. Once I change language, I want to form being updated automatically.
Is there any elegant way to hook up my resource ...
Is there any python library to get a list of countries for a specific language code where it is an official or commonly used language?
For example, language code of "fr" is associated with 29 countries where French is an official language plus 8 countries where it's commonly used.
...
I ran into a strange problem. In my unit test, I want to check the localized strings. However, I can't seem to get it work. For example, I created two resources: Resource1.resx for English and Resource1.zh-CN.resx for Chinese. The unit test project can only get the (default?) English resource string. This is the code I'm using:
Resource...
I've got a WiX installer project which uses MSBuild to generate the MSI file. The WXS file includes the WiX firewall extension:
xmlns:fire="http://schemas.microsoft.com/wix/FirewallExtension"
I've defined two cultures in the MSBuild file with the following definition:
<PropertyGroup>
...
<Cultures>en-us;no-no</Cultures>
</Prop...
A trivial question perhaps, but I'm interested in the answers. I'm currently refactoring some very large monolithic string resource files (one dumpster resource file per project, in about 30 projects). I'm splitting them such that we follow a convention for our files and make the strings easier to find and manage when coding.
Generally...
Is there a way to pass an array of String to a resource bundle to localize an unknown number of argument for a given key?
I have:
my.message=List of retired products: {0}
getValue(bundle, "my.message", list.toArray());
With this, only the first item in the array is showed in the resulting message.
...
Since upgrading a website from ASP.NET 3.5 to ASP.NET 4.0 my dates come out in US format, ie
3/24/2010. How can I change it back to UK format (24/3/2010) for all pages on my site? Is there a default setting somewhere?
...
How big task is it to implement support for Arabic localization, our Java 1.5 Applet was designed as fully localizable (european languages) but now we plan to add also arabic as a new language.
We are using custom GUI text i/o components inherited from Component class using e.g. Drawstring, how well is arabic supported within Component...
Can the app icon and default screen be localized in iPhone? Has anyone tried it?
In theory it should be possible as they're just image resources, but I found no explicit mention of this in the documentation, and I wouldn't like to have my app rejected or failing for this.
...
I read about NSLocaleCurrencySymbol, but where would I find the variable used to determine the "number of decimal places" used in a country's currency?
I.E. In the USA, it's common to see dollar amounts written with 2 decimal places: $1.23
What about many other countries?
Thanks.
...
Hi is there a free avaible translation backend with database avaible which can handle multiple users(no login needed), multiple languages (UTF-8) and provides automatic google translation?
I just need this tool to fill a database (preferable mysql) with simple tables like this:
language | label | text
english | _helloworld | Hello Wor...
Hello Everybody,
i'm using the UIAddressBook interface to create a new Contact in my App. The problem is, that if the iPhone / Touch / Simulator is in German the UI is Englisch,
has someone an idea?
Greetings Fil
...
Hi
I have been trying to localize my iPhone app in two languages - english and german
I have created two folders en.lproj and de.lproj each containing Localizable.strings file for respective language. I have included these files in my resources folder, changed the encoding of these files to UTF-16.
I have tried cleaning the project an...
I would like for my Win7-x64 dev box to remain in the current locale (pl-PL), but at the same time for whole .NET tools to run in English locale.
I previous releases this could be achieved by not installing a language pack add-on that came up in windows update. This time it did sneak up and I cannot find it in windows update history and...
Hi everyone,
as the output of this command
createdb -E UTF8 --lc-collate=hr_HR.UTF8 --lc-ctype=hr_HR.UTF8 tempdb
I get
createdb: database creation failed: ERROR: invalid locale name hr_HR.UTF8
I'm a noob in postgresql so any help will be appreciated! As you can see from above command, I need to create database with support for Cr...