Newbie Question: Recommended method of globalization

G

Guest

I am sure there are long chapters on this subject, but maybe someone can
quickly point me in the right direction:

When developing a pocket-pc app, is there a recommended (or simple) approach
to localizing applications? My pocket-pc application implements many
date-related operations, and the date-format differences between US and
European countries are causing problems. Currently, I have “hard-coded†the
culture info as follows:

private CultureInfo defaultCulture = new CultureInfo("en-US");

Then i repeatedly use this culture object in my code, when executing DML
with SQL CE or directly w/ SQL Server.

In ASP.NET in the WEB.CONFIG file, i can specify globalization in one
centralized attribute, and that’s it. I wonder if the same can be done when
developing apps w/ the Compact Framework rather than repeatedly specifying or
referencing the culture object in hard-code?

Thanks,
 
C

Cor Ligthert

Charlie,

Keep in mind that an Aussie has once written to one of these dotNet
newsgroups that his company will never use any real US program anymore. That
because the problems that often come from the datetime formats and other
formats that are hard coded in those programs and therefore give big
problems in Australia.

I think that it did not include Office programs because those are all made
for the used language/culture.

However the last is just a guess, that he did not say.

Cor
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top