On Thu, 12 Jul 2007 22:35:40 +0200
"A.J. Venter" <[EMAIL PROTECTED]> wrote:
> > And there are two TranslateUnitResourceStrings functions. The one
> > with 4 parameters expects the file mask, the other a specific .po
> > file. If the file does not exist it returns false.
> In which unit is this second one declared ?
Both are defined in lcl/translations.pas.
> ? And which one should I use ?
See the example: The function with 4 parameters.
> > Try this:
> > GetLanguageIDs(Lang,FallbackLang);
> > TranslateUnitResourceStrings('oklinmainunit',
> > LANGPATH+PathDelim+'oklin.%s.po',Lang,FallbackLang);
> I'll try this
The GetLanguageIDs is defined in gettext.
Mattias
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives