On Wed, 10 May 2006 18:05:43 +0200
"Christian U." <[EMAIL PROTECTED]> wrote:

> > I fail to see where your problem is here with the current
> > implementation. Lazarus uses po-files and LCL will be able to use those
> too.
> 
> Yes, maybe thers no problem but, i think when we include a translate tool
> in lazarus and make ourself
> incompatible to the gettext tools the translation tool is useless, sorry.
> Its useable but only for internal formats as borland with it dll stuff.
> Also unuseable.
> I cant write an Imageprogram, with only one format that is self
> implemented. Nobody will use this.

Most users ask for translation of forms. This means 
- on loading the form the LCL must identify the strings that needs to be
translated (TTranslateString)
- the string property must be get an identifer. For example
'TForm1.OkButton.Caption'. This must be done by the LCL.
- the string must be loaded from the database in the wanted language. This
can be done by the gettext tool, or because .po files are so simple, with
the short procedure in the LCL.
- there should be translation files (.po) for each package and project and
when distributing a project the translation db should be automatically
collected from all used packages and projects. Whatever tool does this, it
needs the information of the files the IDE creates. So a tool or plugin
'integrated' into the IDE is quite obvious.

How the translators translate the files is up to them. But IMHO there are
tasks, that only the LCL can do and must do.

 
> > Edit the po-files, which are the basic cornerstone of gettext, as far as
> > I understood.
> 
> This is what i meay why i need then an translation tool in the ide ?
> 
> > See also the gettext support in the LCL.
> 
> LCL ? thers gettext support in the LCL i use unit gettext from FCL ?!

Maybe he meant the few functions that reads .po files.

Mattias

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to