globalization

Page-level localization resources in ASP.Net MVC2

How can I best use Resource files for each page when doing localization in asp.net mvc2? Is there a naming convention or approach where the framework will automatically detect the correct resources and pull in those values? Background: I have separate resources working for the entire site, but I would like to be able to split them by pa...

How to use resources for globalization in asp.net mvc ?

Hi all, I have an application which will be used by multiple companies.So my views/pages are being accessed by all these companies and each company will have their respective content... for e.g. there are 5 titles so each company will have their own titles on each page. So , I am using different resource files for each company and changi...

ResourceManager not selecting correct resource set when using custom culture

I have created a localized MVC website using the code found on this blog by Alex Adamyan. This is working great if I use an existing culture. However, I am trying to localize for Tagalog (tl or tl-PH). Windows does not have this culture built in so I have created one (I have tried both tl and tl-PH) as per the code below: public stat...

InitializeCulture change language of domain

I have a MasterPage with a combo with languages, the thing is that I would like to assign a default language the moment a user starts the application, after that the user can change between languages. What I understand is that I have to override InitializeCulture method on all of the pages, the problem is, where I can save the selected l...

What does .net source (C#, VB.net) look like in other (non-english) languages?

As the title says, I am just a little curious...I have seen some European open-source projects post the source, but it was all syntactically identical. What about Chinese or Japanese or other more complex character-based languages? UPDATE: This was a little misleading I guess. I was asking about the "traditional" .Net languages like...

Localize dbms demo data

Hi everybody! I'm developing a windows mobile application which should work in multiple languages (English, German, French, Russian). This application is about to be shown to customers (Germans, Russians,...) and we would like to generate data depending on the culture it is setup for. So: has anybody thought of a way to create data w...

Externalizing the translation of a WinForms application?

I'm working on an application that will be deployed in a lot of different countries, which of course means different languages. The thing is that I would not translate it myself, nor the other developers. One of the user will translate it and he won't have access to Visual Studio. The question is, how to do that? Is there a tool availa...

.NET - How can I change the Date format by creating a new Culture in .NET?

My code is like this: CultureAndRegionInfoBuilder cib = new CultureAndRegionInfoBuilder("eh-sim", CultureAndRegionModifiers.None); cib.LoadDataFromCultureInfo(new CultureInfo("en-us")); cib.LoadDataFromRegionInfo(new RegionInfo("US")); cib.CultureEnglishName = "Versão de teste"; cib.NumberFormat.CurrencyDecimalSeparator = " "; cib.Re...

asp.net MVC 2 Database localization. Multilang app

I have a multilanggual website. I would like to store Locatilzation in database instead of ressource file. If somebody has good tutorial or documentation about that, I appreciate to access these doc. ...

.Net Localization vs Branding

Let's say I have a WCF service, it has multiple clients, in multiple languages. It would be appropriate to use the resource files and satellite assemblies to provide localized resource strings. Now if those resource strings become branded, for example two clients in the same country, same language, but have different terminology, would ...

SQL Server localization

Does SQL Server take over the localization from the server it's installed on? Or can you define the locale for each instance/database? Which setting is responsible for having comma or period when a double is saved to the database? ...

.NET CultureInfo for Cuba?

I just noticed that the .NET Framework doesn't include Cuba in the CultureInfo class (format xx-XX). What is the best practice on this case? ...

.NET Globalization: Set Culture/UICulture on a Page or a Thread? What's the difference?

Question title is basically the entire question. In ASP.NET you can set the Culture/UICulture properties of a page by overriding the InitializeCulture method, or you can set the properties of the current thread. What are the differences? What are the advantages/disadvantages of both? What situations would you use each option? ...

ASP.NET Strongly-typed globalization resource values

I'm having trouble with accessing strongly typed values from my global resource file. VS 2010 is not providing the intellisense, and it is failing while compiling, saying that the type or namespace doesn't exist. Here's my code: lblGlobalResourceST.Text = System.Resources.GlobalResource.MyName; //MyName is the key/name My Key/Name p...

Introductory learning resources for .Net globalisation/localisation

Hi, I am trying to find some good articles for .Net developers on how to ensure Winforms apps work correctly for non-English users. Articles explaining potential pitfalls and advice on how to test for these pitfalls would be perfect - but I haven't yet found any yet. Areas I am most interest in are: decimal amounts, Dates and setting ...

Where in the request life cycle is the web.config 'globalization' section used?

I'm considering the use of the 'globalization' web.config section in our ASP .NET application to provide a default culture to be applied to all requests. In some cases, we'll be overriding this value programmaticly during the 'AcquireRequestState' event, but I'd like to know at what stage in the request life cycle the 'culture' and 'uiCu...

ASP.NET C# - Sitemap using global resource file and nodes dynamically added from database?

I have a sitemap that's pulling its information from a global resource file (because the website is in two languages). That part is working. Now, I want to make it so that part of the sitemap is dynamically added from the database (product categories). I found a tutorial here and tried to implement it but it's not working. I can get ...

How to change active culture on Windows Phone 7

[Update] I see I need the full example to explain. In my Windows Phone 7 App, I got a page containing a TextBox bound to a Decimal "Amount": <TextBox Text="{Binding Amount,Mode=TwoWay}" InputScope="CurrencyAmount"/> The phone settings are set to German. In german localization, a value like 1234.56m would be formatted 1.234,56 (unlike...