🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.internationalization
3 messages
3 total messages Started by David Perkins Tue, 09 May 2006 11:18
newbie internationalisation
#174
Author: David Perkins
Date: Tue, 09 May 2006 11:18
15 lines
1117 bytes
Hello

I'm about to expand my market place from the UK to all English speaking 
countries.  AFAICT, I only need to worry about the following:

Decimal separator
Currency symbol
Telephone number format (is this a Windows settings even?)
Date format

What functions do I need to look at to get the above?

Many thanks

David
Re: newbie internationalisation
#175
Author: JF Jolin
Date: Thu, 11 May 2006 16:13
21 lines
1384 bytes
09 May 2006 12:18:30 +0100, David Perkins <please@no-spam.com> wrote:

>
> Decimal separator
> Currency symbol
> Telephone number format (is this a Windows settings even?)
> Date format
>
> What functions do I need to look at to get the above?

Almost all of them could be resolve with ::GetLocaleInfo().

Of course a telephone number format isn't a Windows settings.

If you are ready to deal with C++ own facet class
and standard iostreams. You could take a look at
C++ Builder (bcb5.hlp) Help under:
An example of formatting phone numbers

-- 
JF Jolin
Re: newbie internationalisation
#176
Author: David Perkins
Date: Fri, 12 May 2006 09:03
11 lines
1382 bytes
> Almost all of them could be resolve with ::GetLocaleInfo().
> 
> Of course a telephone number format isn't a Windows settings.
> 
> If you are ready to deal with C++ own facet class
> and standard iostreams. You could take a look at
> C++ Builder (bcb5.hlp) Help under:
> An example of formatting phone numbers

Thanks, I've found that the VCL extracts most of that info already into 
a few vars, e.g. ShortDateFormat, CurrencyFormat.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads