Article View: borland.public.cppbuilder.internationalization
Article #269Re: adding spanish language support
From: George
Date: Fri, 15 Oct 2004 13:16
Date: Fri, 15 Oct 2004 13:16
55 lines
3231 bytes
3231 bytes
Hi Andrue ! thanks for help. well actually, my locale is not configured for cyrillic. it's configured for English (United States), I'm using w2k, and in Regional Settings/Advanced tab, I have added all spanish and eastern europe language supports, even latin1 latin 2, so it's a bit different I guess... any ideas? "Andrue Cope [TeamB]" <no.spam@not.a.valid.address> wrote in message news:416e8bf9$1@newsgroups.borland.com... > George wrote: > > > Hi, sorry for such a vague question. > > > > ok, well, basically I want to be able to write spanish in my app. > > TMemo, TEdit or whatever > > control it will be. > > Your email address has a .ru extension so I'm assuming you're > configured to use the Cyrillic codepage. If that is the case then your > machine probably doesn't have the Spanish characters available to it. > > The problem is that the VCL (and most Windows applications come to > that) still use 8-bit characters in strings. 8-bits only gives 256 > characters and that is nowhere near enough to support all the World's > languages. > > The solution is something called a codepage. Basically this is a subset > of characters tailored to a particular language. In effect it's the 256 > characters that you as a cyrillic user need. It includes several > characters that I as an Briton don't need but more importantly it may > not include some of the accented Roman alphabet letters than Spanish > needs. > > You could try changing your locale (Control panel\Regional settings) to > Spain after ensuring that 'Western European' is enabled in the list of > input languages. > > This 'problem' is not really a problem at all. You can translate your > application on a machine set up for Spain and then release. Obviously > anyone wanting to see the Spanish version will have their machine > configured appropriately and all will be well. > > If for some reason you need to be able to display text in any language > on any machine you need to look at using Unicode. Unfortunately the VCL > doesn't support this. > > -- > Andrue Cope [TeamB] > [Bicester, Uk] > http://info.borland.com/newsgroups/guide.html
Technical Details
Message-ID:
<416fce37$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!proxad.net!npeer.de.kpn-eurorings.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<416c225b@newsgroups.borland.com> <416c3717$1@newsgroups.borland.com> <416d3117@newsgroups.borland.com> <416d714f$1@newsgroups.borland.com> <416e7eda@newsgroups.borland.com> <416e8bf9$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10297d,d71949923ef57c99 X-Google-Attributes: gid10297d,public X-Google-Language: ENGLISH,ASCII-7-bit From: "George" <jjio@mail.ru> Newsgroups: borland.public.cppbuilder.internationalization References: <416c225b@newsgroups.borland.com> <416c3717$1@newsgroups.borland.com> <416d3117@newsgroups.borland.com> <416d714f$1@newsgroups.borland.com> <416e7eda@newsgroups.borland.com> <416e8bf9$1@newsgroups.borland.com> Subject: Re: adding spanish language support Date: Fri, 15 Oct 2004 15:16:42 +0200 Lines: 57 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4927.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4927.1200 NNTP-Posting-Host: 62.151.100.131 Message-ID: <416fce37$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1097846327 62.151.100.131 (15 Oct 2004 06:18:47 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!proxad.net!npeer.de.kpn-eurorings.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail