localization

ASP.NET C# language file doesn't work

I just started using explicit resource files. I performed these steps: In the root create the folder: App_GlobalResources Add two resx files: LocalizedText.en-us.resx and LocalizedText.resx In both files I have a value called 'InstitutionTitle' In LocalizedText.en-us.resx the value is 'Institution' and in the LocalizedText.resx the val...

Automate Photoshop to insert text from file

I have a multilanguage website and need automate the process of updating textlayers in psd-files from a csv-source. I know that there might be glitches in the psp because of changed widths, but anyway it would help a lot to have the text inside the documents. What are my options? EDIT: Murmelschlurmel has a working solution. Here is ...

Localization of ASP.NET MVC websites with GNU Gettext?

Hi, This might be an unusual question, but is there any framework or at least some helper classes that would help me use GNU Gettext for localizing a C# ASP.NET MVC website? I've been using Gettext in a previous (managed code) project and really appreciate the possibility to use PoEdit for translating the resources. I guess this would ...

On a deployed ASP.NET web site project, can I update a .resx file without recompiling?

I'm deploying an ASP.NET application to a locked down Production environment. Pushing assemblies (satellite resource assemblies included) into this environment has process associated with it, but copying non-assemblies to the environment does not. On an ASP.NET web site project, can I update a .resx file without recompiling? ...

Obtaining localized strings for a particular language

I am trying to obtain localized strings for the English language (in en.lproj/Localizable.strings) for use as default values when the localized string for the user's preferred language is not found. I want to pass in that default value to this method: [[NSBundle mainBundle] localizedStringForKey:key value:defaultValue table:nil] But...

ASP.NET - Converting localized number

I have a textbox accepting user input; I am trying to use this user input it to populate this member of one of my business objects: public System.Decimal? ExchangeRate The application is localized - I need to support at the same time cultures that accept these as valid inputs: "1,5" and "1.5" The code I have now is: var culture = Th...

Forcing English language exceptions in .NET framework

Hi, While working with ASP.NET MVC, I have noticed that exception messages issued by the .NET framework installed on my System are in German. I'd really prefer English messages, so I can post them on SO. I know this has been asked before on SO, but strangely enough none of the suggested workarounds seem to work in my case. I have alre...

Multiple localized aspx layouts

I want to localize an application, and currently use the App_LocalResource resx files for language changes. However, I want to change the layout of the controls on an ASPX page dependant on locale. I know it is possible to set visible from the resx file. For example; my default (en-US) could have "firstname" : [textbox] "surname" ...

How do I get the first day of the week for the current locale? (PHP / L8N)

In most locale, the first day of the week is Monday. In the US (and presumably elsewhere), the week starts on Sunday. How can find out in PHP, for an arbitrary locale, the current setting for the first day of the week (Sunday or Monday)? Thank you. ...

ASP.NET: Better store localizable UI text in resources or in the database?

There seems to be two different approaches. ASP.NET framework gives us an easy way to localize pages by putting UI strings in resources, like UserProfile.en.resx, UserProfile.fr.resx etc. The other approach is to put all strings in separate tables in the database then use some custom mechanisms to retrieve them accodring to the currentl...

Are there any patterns/algorithms for dealing with localisable mnemonics?

I work on a web application product which allows mnemonics (i.e. an underscore below the character 'C', to allow a keyboard combination and the key C to trigger the "Close" button). Forms are created by different developers and they can each statically set mnemonics for buttons. Forms can be nested, so it is not necessarily known at ...

Chinese language codes

We are updating an old .net 1.1 website to 2.0. The site currently supports Chinese (Traditional) & Chinese (Simplified) I'm getting a run time error when trying to detect the language & culture using the codes: zh-CHS (simified) & zh-CHT (traditional): Please select a specific culture, such as zh-CN, zh-HK, zh-TW, zh-MO, zh-SG. From...

Website localization depending on its extension

Hello, I'm currently building my personal website in ASP.Net MVC and I want two versions: a French and an English one. I've got two domain names and I want to match the English version to the ".com" domain and the French version to the ".fr" domain: When you go to www.mywebsite.fr, you will get the French version When you go to www.m...

How can I localize the value of CFBundleDisplayName in the Info.plist file?

When I look inside the Info.plist file in Xcode, the Property List Editor shows me an value that looks like an variable: ${PRODUCT_NAME} How / where can I set up localized names for my app? ...

How do I put strings into stringtables in MFC?

I'm trying to localize a large MFC project where all the strings are hard-coded into the source code. (It was the easiest thing to do at the time, back before we had any idea we'd expand into other markets.) I've looked at localization tools, and invariably they say to put all the strings into the .rc file first, or just assume it has ...

Easiest way to generate localization files

Hello - I'm currently writing an app in Python and need to provide localization for it. I can use gettext and the utilities that come with it to generate .po and .mo files. But editing the .po files for each language, one-by-one, seems a bit tedious. Then, creating directories for each language and generating the .mo files, one-by-one...

Localization of a DotNetNuke website

I am working on a website in dnn. I want to change the language of website or particular page. So I download the language package for spanish(es-es),chinese(zh-cn) and install them from host. Next when I changed the language of browser then the website language didn't change. Working on dnn 5.0. Please let me know how I can use languag...

Localization in .NET

Hi I am using Resoursce files as described here: http://msdn.microsoft.com/en-us/library/system.globalization.cultureinfo.aspx I am setting the culture info programatically as opposed to at the top in the page declaration. Do I need to declare the culture info for each page? Is there something I can do to change the culture info for a...

adding comments to pot files automatically

I want to pull certain comments from my py files that give context to translations, rather than manually editing the .pot file basically i want to go from this python file: # For Translators: some useful info about the sentence below _("Some string blah blah") to this pot file: # For Translators: some useful info about the sentence b...

UserControl Globalization

Hi how can I set culture information on a user control? I have set up the resource file but I am unable to override the InitializeCulture() as it is not available in System.Web.UI.UserControl. Can someone point me in the right direction? I want to this programatically. Thank you. ...