[VAPP,V4MD] "Exotic" languages

Ruslan Zasukhin sunshine at public.kherson.ua
Sat May 3 10:06:55 CDT 2003


on 5/3/03 8:41 AM, Tschoatscho Kettl at ich at medienzar.de wrote:

Hi Tschoatscho,

> Hi,
> probably a very exotic problem:
> In VAPP I use the Popup-Menu to set the language of a text or varchar field.
> I already know from earlier threads that this doesn't always work as
> expected and that I should set the field language using the
> ChangeFieldLanguage method from the xtra.
> AFAIK Valentina uses sorting algorithms provided by the system. So it
> seems obvious that the result depends on the user's system and on
> what scripting systems are installed there, right?

Not exactly.

Usually system have SEVERAL pre-installed scripts for different languages.
For example each MacOS comes with French.

So if such script exists then Valentina will use it.
It must not be CURRENT for system.

Of course if language script is missing, then we get problems...

> In my current (non-commercial) project I have to sort Thai words
> ordered by the Thai alphabet. VAPP shows "Thai" within the Popup as a
> supported language, but it is neither possible to set "Thai" in VAPP
> nor using the Xtra method pVDB.ChangeFieldLanguage(fieldRef,"Thai")
> (->GetFieldLanguage still returns "ASCII").

Correct, this means that there Is no such language in your system.
You need try to find installer of this language (from Apple?)
And install it.

> So here my first question:
> How can I make Valentina accept "Thai" as a language and use Thai
> sorting algorithm? Do I have to buy a Thai MacOS or Windows or is it
> enough to install some system extensions (i.e. "Language & Region
> Support")? Where could I get such extensions?
> 
> If it depends on the user's system which languages are supported by
> Valentina...
> ...second question:
> How can I get a list of all supported languages on the user's machine
> from within the xtra?

I have not provide such feature for Valentina Xtra.
And I do not think somebody else have made this.
If director allow access to system resources, then you can try self read
corresponded resources, but this is not easy task...

-- 
Best regards,
Ruslan Zasukhin      [ I feel the need...the need for speed ]
-------------------------------------------------------------
e-mail: ruslan at paradigmasoft.com
web: http://www.paradigmasoft.com

To subscribe to the Valentina mail list go to:
http://listserv.macserve.net/mailman/listinfo/valentina
-------------------------------------------------------------



More information about the Valentina mailing list