Localization :: Building A Globalized Web Application?

May 28, 2010

I need to build a globalized web application, and I already have those resource files in the App_GlobalResources folder. My web application is built upon an N-tier architecture: DAL, BLL and Presentation are the layers, and we are using SQL Server 2008. We have decided that the database, BLL and DAL will always be operating using the en-US culture, but the culture in the Presentation layer can vary.

ASP.NET works with two culture properties: Culture and UICulture. There's an article in MSDN that states that a thread's UICulture determines which resource files ASP.NET picks, and Culture determines datetime/currency formating, etc.

So, to have a fully globalized application, I think I must set both Culture and UICulture, so that both Resources and datetime/currency formating are displayed using the same culture.

Then I thought I would set those culture properties (both of them) in the BeginRequest event in my web application, based on the user's choice, and that everytime a method in the BLL is called, it sets the thread's Culture property to "en-US" and, just before it returns, it sets the thread's Culture back to what it was before.

View 1 Replies


Similar Messages:

Web Forms :: Gmail Like Chat Application - Building An Instant Messenger Application For The Selected User

Feb 22, 2010

I have a requirement for building an instant messenger application for the selected user.

I have googled for the solution but without any sucess.My requirement is once a user initiates a chat with another user,the another user needs to get a popup of the chat window,where the two users can start chatting.

View 4 Replies

Web Forms :: Globalized Datetime Object As Sql Query Parameters?

Dec 28, 2010

I have an application which uses globalization, hence the datetime objects are globalized based on current culture. These datetime objects are passed as sql parameters for a select query. The database stores the datetime in only one format (en-US style). Although the query is parameterized the final query generated does not contain converted values (format that Database is expecting).

View 1 Replies

Building A Web Application Using Msbuild?

Dec 10, 2010

I have a web application solution with 14 projects which include web services, class libraries, sub-web applications.. can anyone provide a solution on how to get along with an example?

View 1 Replies

C# - Building A .net Application On Classic?

Jan 25, 2011

We have a big classic ASP website, and we want to start writing new code in .net, (the website is way to big to rewrite 100% at this stage).

The old website uses session variables, will these still be accessible in the .net pages, and if not (which I suspect) is there anything we can do to make them accessible?

The new section is detachable, that is it is pretty much independent from the rest of the site so should be fine to write in .NET, it's just sessions which are important to us. Do we need another login page?

How bad practise would it be to ajax a local .net page which sets session info when they login to the old site? Can we copy session data this way?

View 1 Replies

Building Application Framework For Database Web App

Nov 20, 2010

I am looking to build a web application from the ground up. I have done a bit of research, however I just thought I would post here to see what kind of responses I get. I will give a brief description of the type of application I am trying to build. It will be a database web app for managing clients and financials of those clients. The application will need a secure log on system for approximately 160 end users, with the ability to change permissions for each user given their individual rights.

Depending on the type of user created they will have access to 1 of 7 unique application modules within the app framework. A data dictionary will be designed and created prior to starting the project as the 7 unique application modules will have common database fields and custom relationships. Based on this information, what asp.net tools, libraries or books would you recommend using?

View 4 Replies

AJAX :: Building An Application - Looking For Timer In .Net?

Dec 12, 2010

I am building an application where I need to check/send a query to database every second. So, is there any way to do that??

View 5 Replies

Building A New Shopping Cart Application?

Mar 7, 2010

I am working on building a new shopping cart applicaiton. When i checked many shopping card applications, i found that the cateogry pages and product pages seems to be dynamically created. eg: http://shopping.sify.com/cadbury-bournville-almond/chocolates/CHOC24112009TTL14.htm

How this is being done? Is this page is created while adding product itself?

View 2 Replies

Building An Enterprise Application With .NET MVC3?

Nov 30, 2010

Im in the process of building an Enterprise Application, I want to have the DAL & BLL in separate projects, one each. With a structure like this, what should i do with the Models folder in MVC'S Default Project?

View 3 Replies

C# - Building A Service To Serve An Iphone Application?

Dec 4, 2010

I'm building an Iphone application, which has to retrieve information from a database on a server.
I thought about building a C# web service on the server,so the Iphone app will send a http request to the web service and get the required data as a xml output. Are there any better alternatives? for instance: I never tried but heard about WCF, maybe it's better using it instead of the older xml web service technology?

View 2 Replies

Web Forms :: Building A Rich Internet Application In .net?

Sep 11, 2010

Is it possible to develop something like this with asp.net, html and javascript?

http://www.gsk.com/annualreview2009/

i think this website is developed in flash with actionscript.I dont want to use Silverlight or Flash . what are the other options i have?

View 2 Replies

Ways To Reduce Application Building/debugging Time?

Oct 2, 2010

My new office project is based on an MVP design and is in VB.NET (.NET 3.5), using multiple libraries (like EntLib, internal corporate framework, etc.). The number of DLLs used as references is so huge (almost 50) that when I try to build/debug the application in VS2008, it takes almost 3-4 minutes to get the website running successfully.Wanted to know if there are any settings/areas which upon some modifications can help me reduce the build time? and what exactly can be the major reasons behind this long loading duration?

View 1 Replies

Web Forms :: Building Questionnaire Application With One Question And Four Options

Feb 4, 2013

i have a task, online test. 15 questions stored in database , and also answers.

it has 4 options, a, b, c, d. for a particular question how to fil values in respective options from database.?

and also how to move to next questions, by clicking next button

View 1 Replies

When Building Composite Controls And Using Session Can They Conflict With Host Application

Dec 22, 2010

I wrote a composite web control that is used in several web applications. If I use sessions variables, for example HttpContext.Current.Session("MyProgramMemberId"), do I run the risk that the host site might have also defined that same session key name?

View 2 Replies

Security :: Building An Application That Has Some Pages Public And Others Password Protect?

Jun 16, 2010

I am interested in finding out how I would go about displaying a website wiithout forms authentication but to utilise forms authentication when the user makes a request by clicking in the signin button, and then the user will view other pages that are private and secure,

View 2 Replies

Localization :: Make Single DLL In Application?

Nov 2, 2010

In my application i used .resx files. Now i need to deploy my application in a single dll. Once i deploy and add this dll as a refernce in other client applications then the culture specific dlls are added under Bin directory in client application. I don't want this to happen. Should i embed or link the satellite assembly in my applicaion to avoid this? if so how to do this?

View 3 Replies

Localization :: Converting Web Application To Different Language?

Mar 29, 2010

I had created ASP.Net Web Application named 'Traning Management System' (in English) for my company. Now my boss wants me to translate that application to Arabic language. He wants everything to be in arabic. I don't know how to do it. I searched in google and came to know about localization and globalization. I could not understand the topics. My application contains 1 master page, 5 .aspx pages. The pages mostly contains labels, textboxes, gridview, buttons and other controls. The project also contains reports.

View 4 Replies

Localization :: Application Language Version?

Nov 5, 2010

I have the .net application which is in english words in the interface.

They are text in label or they are UI words.

If change to other language, what method should I use??

View 1 Replies

Localization :: Maintain A Web Application In Different Languages?

Aug 18, 2010

How to maintain a web application in different languages.

For Examplel(English, Chinees,German...)

Need any Detailed Example.

View 1 Replies

Localization - How To Support Multiple Languages In A Web Application

Jul 15, 2010

I am working on a web forms application that needs to support multiple languages based on a user's preference. Here are some considerations to keep in mind about the needed solution:

I want to avoid using resource files to store the different text translations because I'd like the ability to change them without having to recompile and deploy the application.

Also the translations ideally need to be adminstratable.

It seems its a considerable amount of effort to add this support to an existing application.

View 3 Replies

Localization :: How To Make The Web Application To Available In Multiple Languages

Sep 21, 2010

I want my web application to support multiple langauges like english,german,etc

Is there a way we can do this in visual studio or is ther any other way

View 3 Replies

Localization :: Multi Lingual Application Using UNICODE?

May 19, 2010

how to use multilingual application using UNICODE in c#.

View 3 Replies

Localization :: Server Error In Application - BC30554

Mar 11, 2010

I'm creating a multi-language web site using ASP.NET and Framework 3.5. So far no login required. Everything has been working fine. But when I update my windows 7 and software and compile the site the follow error appear

Server Error in '/' Application.

Compilation Error

Description:
An error occurred during the compilation of a resource required to service this request. review the following specific error details and modify your source code appropriately.

Compiler Error Message: BC30554: 'ProfileCommon' is ambiguous.

This are my codes:

web.config
<connectionStrings>
</connectionStrings>
<system.net>
<mailSettings>
<smtp from="[URL]">
<network host="[URL]" port="587" />
</smtp>
</mailSettings>
</system.net>
<system.web>
<anonymousIdentification enabled="true"/>
<authorization>
<allow users="*" />
</authorization>
<!--profile inherits="System.Web.Profile.ProfileBase"-->
<profile defaultProvider="AspNetSqlProfileProvider" inherits="System.Web.Profile.ProfileBase">
<properties>
<add name="UICulture" allowAnonymous="true" defaultValue="es-PR"/>
<add name="Culture" allowAnonymous="true" defaultValue="es-PR" />
<add name="PreferredCulture" allowAnonymous="true" defaultValue="es-PR"/>
</properties>
</profile>
<globalization culture="es-ES" uiCulture="es-ES"/>
<!--

Set compilation debug="true" to insert debugging symbols into the compiled page. Because this affects performance, set this value to true only during development.

-->
<compilation debug="true">
<assemblies>
<add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
<add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add assembly="System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
<add assembly="System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
</assemblies>
</compilation>
<!--

The <authentication> section enables configuration of the security authentication mode used by ASP.NET to identify an incoming user.

-->
<authentication mode="Windows"/>
default.aspx
<script runat="server">
Protected Overrides Sub InitializeCulture()
Dim CurrentContext As HttpContext = HttpContext.Current
Dim UserCulture As String = CurrentContext.Profile.GetPropertyValue("PreferredCulture").ToString()
If UserCulture <> "" Then
Thread.CurrentThread.CurrentUICulture = New CultureInfo(UserCulture)
Thread.CurrentThread.CurrentCulture = CultureInfo.CreateSpecificCulture(UserCulture)
End If
End Sub
Private Sub Page_Load(ByVal sender As Object, ByVal e As EventArgs) Handles MyBase.Load
If Not IsPostBack Or CStr(Session("CultureName")) <> CultureInfo.CurrentCulture.Name Then
Session("CultureName") = CultureInfo.CurrentCulture.Name
End If
End Sub 'Page_Load
Protected Sub SetLanguage(ByVal sender As Object, ByVal e As EventArgs)
'Save selected user language in profile
Profile.SetPropertyValue("PreferredCulture", "es-PR")
'Force re-initialization of the page to fire InitializeCulture()
Response.Redirect(Request.Url.LocalPath)
End Sub
Protected Sub SetLanguageEn(ByVal sender As Object, ByVal e As EventArgs)
'Save selected user language in profile
Profile.SetPropertyValue("PreferredCulture", "en")
'Force re-initialization of the page to fire InitializeCulture()
Response.Redirect(Request.Url.LocalPath)
End Sub
</script>

If I run the olds files with the precompiled file this work.

View 1 Replies

Localization - Show Hindi Fonts On Web Application?

Jan 8, 2010

how can i show matter in Hindi Language on my asp.net page. and the main thing is that my text should be visible even if the Hindi font is not installed at client side. for that i researched on Google and find out that unicode can do it.. but i dont know how to work with it.

View 2 Replies

Localization :: Multilanguage Support In Existing Application?

Jun 7, 2010

I am little confused regarding the concepts of localisation and globalization.I was working on a project which was totally database driven. All the data, images and flash stuff was coming from the database. Now the site is fully loaded with the data.Now the client wants the currently running site in 5 different languages. So I read the resource files concept. Now the confusion arises. I have 2 types data on the site, one is static(ie text on labels, titles, buttons) and dynamic data that was added from the admin panel.Now my question is: If at this stage I want to make the site in 5 different languages, then I have to make the resource files for all those languages so that the static data can be displayed in different languages.But what about the dynamic data that was entered by the client. Client uploaded huge amount of data. Should I make the changes in the database tables and add 4 other columns for different languages and again upload that much data in those 4 languages.

View 3 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved