Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2011-02

language database

7 messages · 6 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

ik

Hello,

I'm thinking in starting to create a language database unit for Lazarus. The idea is to know as much as possible about all the needed features of a language.

For example all the possible encoding for it (UTF7 [not the same as UTF-8 and above],8,16,32,embdic, DOS code page etc...), The country(s) it is being used officially,
Direction (Right To Left, Top To Down, Left To Right etc..), full name, ISO names, geographic places (Asia,middle east, far east, europe, latin america, usa, canada, africa, etc) and so on...

This is not a hard work in developing but it is a lot of work do research all of this information and I wish to know if anyone will be interested in such unit, and if so will they be willing to give a hand for it ?

Will you find such unit useful ?
Please note that such unit will make your program bigger to use, but it will be one more step in the direction of supporting human languages better (I hope).

Thanks,

Ido
LINESIP - Opening the source for communication
http://www.linesip.com
http://www.linesip.co.il
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20110221/862e716b/attachment.html>

Reply by email

José Mejuto
to ik

Hello Lazarus-List,

Monday, February 21, 2011, 8:37:27 PM, you wrote:

i> I'm thinking in starting to create a language database unit for Lazarus. i> The idea is to know as much as possible about all the needed features of a i> language.
[...]
i> This is not a hard work in developing but it is a lot of work do research i> all of this information and I wish to know if anyone will be interested in i> such unit, and if so will they be willing to give a hand for it ?

That information is already at http://cldr.unicode.org/ take a look at it.

Best regards, Jos?

Reply by email

Zaher Dirkey
to ik: I'm thinking in starting to create a language database unit for Lazarus. The idea is to…

2011/2/21 ik

Show quoted text 25 lines
Hello, I'm thinking in starting to create a language database unit for Lazarus. The idea is to know as much as possible about all the needed features of a language. For example all the possible encoding for it (UTF7 [not the same as UTF-8 and above],8,16,32,embdic, DOS code page etc...), The country(s) it is being used officially, Direction (Right To Left, Top To Down, Left To Right etc..), full name, ISO names, geographic places (Asia,middle east, far east, europe, latin america, usa, canada, africa, etc) and so on... This is not a hard work in developing but it is a lot of work do research all of this information and I wish to know if anyone will be interested in such unit, and if so will they be willing to give a hand for it ? Will you find such unit useful ? Please note that such unit will make your program bigger to use, but it will be one more step in the direction of supporting human languages better (I hope). Thanks,

You need it to detect the information of language, i think it have to be in the translation file, while Lazarus use PO file, you can put a custom property in the main language file.

I have doing that in my projects.

Zaher Dirkey
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20110222/bf3532c0/attachment.html>

Reply by email

hector fiandor
to José Mejuto: i> I'm thinking in starting to create a language database unit for Lazarus. i> The idea…

Dear List:
i am working with Tdbf and i want to fix in a DBEdit control the words Yes or No.
If i do it typing "yes" or "no", no problem, the DBEdit control interprets a change and the Navigator bar become Active an i can "post".

but i want to do it clicking over the DBEdit.

i have implemented in the DBEditClick event this procedure
begin
    if DBEdit.text='yes' then DBEdit.text:='No'
    else
    if DBEdit.text='No' or DBEdit.text='' then DBEdit.text:='Yes';
end;

and the DBEdit control remain with the original field value and the Navigator bar dont get Active.

thanks in advance,

yours,

Ing. H?ctor F. Fiandor Rosario

Este mensaje le ha llegado mediante el servicio de correo electronico que ofrece Infomed para respaldar el cumplimiento de las misiones del Sistema Nacional de Salud. La persona que envia este correo asume el compromiso de usar el servicio a tales fines y cumplir con las regulaciones establecidas Infomed: http://www.sld.cu/

Reply by email

Peter Williams
to hector fiandor

Hi Hector,

Show quoted text 20 lines
From: To: Date: Thu, 3 Mar 2011 17:37:18 -0500 Subject: [Lazarus] a consult about Tdbf Dear List: i am working with Tdbf and i want to fix in a DBEdit control the words Yes or No. If i do it typing "yes" or "no", no problem, the DBEdit control interprets a change and the Navigator bar become Active an i can "post". but i want to do it clicking over the DBEdit. i have implemented in the DBEditClick event this procedure begin if DBEdit.text='yes' then DBEdit.text:='No' else if DBEdit.text='No' or DBEdit.text='' then DBEdit.text:='Yes'; end;

I think I follow your logic & it seems to me that you'd be better off using a TCheckBox and checking and assigning the .Checked property. Your logic would then become:
Var CheckBox1 : TCheckBox;begin // assign Checkbox1.Checked somewhere (true or false) Checkbox1.Checked := not Checkbox1.Checked; ... is this what you are trying to do? You are really just inverting the logic of the field, correct?

Show quoted text 10 lines
and the DBEdit control remain with the original field value and the Navigator bar dont get Active. thanks in advance, yours, Ing. H?ctor F. Fiandor Rosario

Best Regards, PEW :-)

Show quoted text 12 lines
-- Este mensaje le ha llegado mediante el servicio de correo electronico que ofrece Infomed para respaldar el cumplimiento de las misiones del Sistema Nacional de Salud. La persona que envia este correo asume el compromiso de usar el servicio a tales fines y cumplir con las regulaciones establecidas Infomed: http://www.sld.cu/ -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20110305/a24a6fee/attachment.html>

Reply by email

hector fiandor
to Peter Williams

Dear Peter:

thanks very much. Today in the morning i re-read the TDbf Manual and the Tony Maru Tutorial and i "discover" that i can use boolean fields. Then i put the DBChekBox on the form, re arranged the FieldDef and it pretty works.

Thanks very much. I expect to have others problems and i will consult you again. I am preparing an app. for Prostate Cancer Control for my daugther, who is especialists in this matters.

thanks again,

yours truly,

Ing. H?ctor F. Fiandor Rosario

__________ Informaci?n de ESET Smart Security, versi?n de la base de firmas de virus 5920 (20110302) __________

ESET Smart Security ha comprobado este mensaje.

http://www.eset.com

Este mensaje le ha llegado mediante el servicio de correo electronico que ofrece Infomed para respaldar el cumplimiento de las misiones del Sistem a Nacional de Salud. La persona que envia este correo asume el compromiso de usar el servicio a tales fines y cumplir con las regulaciones establecidas Infomed: http://www.sld.cu/ -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20110304/c1fc8d30/attachment.html>

Reply by email