<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.16890" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Yes, i know. Saw it on wiki.<BR>But what to do in
the meantime ?<BR>We should stop what we are doing in this matter until that got
implemented ?<BR>Or we should encounter an intermediary rule until
then?</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Marcelo.<BR></FONT></DIV>
<DIV><FONT face=Arial size=2>On Sun, 13 Sep 2009 12:28:40 -0300<BR>"Marcelo
Borges de Paula" <marcbp at terra.com.br> wrote:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>> Well, before adventured myself, helping
Lazarus with translations, i<BR>> did some research about how things were
done in this matter. Seems<BR>> that majority used this method, so i followed
it.<BR>> <BR>> Some considerations:<BR>> <BR>> - Using "i18n option
enabled" you have two different behavior of IDE<BR>> automatic language
generation: 1) Projects: IDE generated .po file<BR>> with projectīs name,
which concentrates all resources from all files<BR>> in project. 2) Packages:
For every form in package, a correspondent<BR>> file (.lrt) is generated and
a correspondent file (.po) file is<BR>> generated. This could end with a
bunch of files in language<BR>> directory, each one requiring translation.
Example: If a package<BR>> generates 4 language files, for each language you
got 4 files. So if<BR>> you have 10 supported languages.....<BR>> <BR>>
- Concentrate all resources in one .pas file gives you more<BR>> centralized
control over that strings. This is not the case with<BR>> "i18n", since IDE
can generate resources from .pas where they are<BR>> declared. So you know
that that string exists, but you will need to<BR>> do a search in files to
locate it. This is more simply to do in one<BR>> file.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>It is planned to add an option to gather all
resourcestrings in one<BR>po file for each package/project. </FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2> <BR>> - I tought that having one method in
mind is better than having to<BR>> remember that for projects i need to do
one way, and with packages<BR>> another way.<BR>> <BR>> Maybe itīs a
good opportunity to discuss some standards about this<BR>> matter. There is a
lot to do in this field. Reach a common sense may<BR>> avoid big headaches in
future.</FONT></DIV>
<DIV> </DIV><FONT face=Arial size=2>
<DIV><BR>Mattias</DIV>
<DIV> </DIV>
<DIV><BR></FONT> </DIV></BODY></HTML>