Can it be a solution to reserve a certain namespace which can be freely used
for such user-defined gettext functions?

Like: hb_i18n_gettext[_strict|_noop]*() ?
Where '*' can be any valid postfix (with length > 0).

These function names would be handled similarly to
hb_i18n_gettext[_strict|_noop](), but would not be defined by
Harbour itself, they'd be left for the user programs.

Any opinions?

Brgds,
Viktor

On Tue, May 5, 2009 at 9:08 PM, Viktor Szakáts <[email protected]> wrote:

> Hi All,
> I have an app which uses translatable texts, but it's using
> a different, local function to mark/translate texts. This function
> is doing some extra text processing plus deals with loading
> / caching translations on demand.
>
> But since this is a different function than hb_i18n_gettext()
> I cannot utilize -j switch to extract strings.
>
> Questions:
> - Would it be possible to pass extra alternate function names,
>   which would get extracted also?
> - If not, would it be possible to override functionality of
>   hb_i18n_gettext() at runtime? (without penalizing performance of course)
>
> Brgds,
> Viktor
>
>
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to