473,385 Members | 1,782 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

making my app multi-lingual

I have a web application that I distribute with only the aspx (and other
asp_ files) but no .vb files and a compiled /bin folder. The clients
then customize visual elements on those pages to make it look how they
want (as much as this makes possible anyway), but I can maintain all the
logic in the compiled code. Although less than perfect this approach
generally works.

I now have a client in Canada who wants to run two copies of my web
application, one in English and one in French. I've identified a bunch
of places where I have hard-coded English somewhere in the vb and am
trying to address them all by moving as much wording as possible into
the page so it can be edited.

One problem I've run across that I don't know how to handle is that of
dates. I use the asp.net calendar control on one page and have a label
displaying the selected date like this:

lblStartDate.Text = calStartDate.SelectedDate.ToLongDateString

I was figuring that LongDateString would be dictated by the regional
settings of the web server. My problem is they want to have an English
set and a French set on the same server, so I need to come up with
another solution.

Of course the calendar it's self is another issue that could hopefully
use the same solution if there is one.

Could I somehow programmitally set the region and language so I could
run two sets in different "regions" on the same server?

Any suggestions? Thanks!

Matt

PS - I have thought of a virtual server but prefer something with less
configuration for the client if possible.
Nov 19 '05 #1
1 976
Matt:
Read
http://openmymind.net/index.aspx?documentId=3
and
http://openmymind.net/index.aspx?documentId=4

for everything you'll possibly have to know :)

Cheers,
Karl

--
MY ASP.Net tutorials
http://www.openmymind.net/ - New and Improved (yes, the popup is annoying)
http://www.openmymind.net/faq.aspx - unofficial newsgroup FAQ (more to
come!)
"MattB" <so********@yahoo.com> wrote in message
news:3d*************@individual.net...
I have a web application that I distribute with only the aspx (and other
asp_ files) but no .vb files and a compiled /bin folder. The clients then
customize visual elements on those pages to make it look how they want (as
much as this makes possible anyway), but I can maintain all the logic in
the compiled code. Although less than perfect this approach generally
works.

I now have a client in Canada who wants to run two copies of my web
application, one in English and one in French. I've identified a bunch of
places where I have hard-coded English somewhere in the vb and am trying
to address them all by moving as much wording as possible into the page so
it can be edited.

One problem I've run across that I don't know how to handle is that of
dates. I use the asp.net calendar control on one page and have a label
displaying the selected date like this:

lblStartDate.Text = calStartDate.SelectedDate.ToLongDateString

I was figuring that LongDateString would be dictated by the regional
settings of the web server. My problem is they want to have an English set
and a French set on the same server, so I need to come up with another
solution.

Of course the calendar it's self is another issue that could hopefully use
the same solution if there is one.

Could I somehow programmitally set the region and language so I could run
two sets in different "regions" on the same server?

Any suggestions? Thanks!

Matt

PS - I have thought of a virtual server but prefer something with less
configuration for the client if possible.

Nov 19 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

13
by: Chris Mantoulidis | last post by:
There must be some tips to make a program quicker. I guess more than 50% of ppl here will say "avoid the if-s". Yeah I know this makes a program quicker but some times an "if" is inevitable,...
2
by: GIMME | last post by:
Background ... I've created a web application that allows a user to create an HTML application from IE. The application itself creates an XML representation of a XHTML form. The XHTML...
0
by: VMI | last post by:
If I'm in a multi-line textbox and I'm writing a postal address (ie. write ist line and press <Enter>, write 2nd line and press <Enter>, etc...) how can I make sure that the Enter key will always...
3
by: usenetaccount | last post by:
In a newly created test app, to maximize client performance I tried to make two SOAP method calls in tandem (the soap methods execute some specified query), as each call includes a large amount of...
351
by: CBFalconer | last post by:
We often find hidden, and totally unnecessary, assumptions being made in code. The following leans heavily on one particular example, which happens to be in C. However similar things can (and...
0
by: Greg | last post by:
I've made a datagrid multiline (for anyone interested, I used an adaptation of the code at http://64.78.52.104/FAQ/WinForms/FAQ_c44c.asp). This has introduced a very serious issue: the vertical...
41
by: Zytan | last post by:
Anyone do any tests on it? I would assume it has improved since C's rand(), but who knows. For some reason, and it could just be coincidence, I seem to see patterns. But even a crappy rand()...
2
by: CoopEng | last post by:
Hey all, I've been pouring through hundreds of forums recently and finally decided that I should get in on the action. I am trying to update some forms and reports, also some minor back end...
11
by: Rafe | last post by:
Hi, I'm working within an application (making a lot of wrappers), but the application is not case sensitive. For example, Typing obj.name, obj.Name, or even object.naMe is all fine (as far as...
1
by: foobar | last post by:
I am doing a php webshop. I have 4 tables: product for product info, product_catalog for multi-level catalogs, product_product_catalog for binding product and product_catalog together -- it shows...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.