Jason L Tibbitts III wrote:
>
> >>>>> "MW" == Mathias-H Weber <mweber@atlas.de> writes:
>
> MW> I read between the lines of some postings that a new release of MJ is
> MW> growing in the dark (2.0?). Will this version still have the
> MW> administrative messages hard coded into the scripts? (I guess it will
> MW> :-( )
>
> Some of them, at least for now. I have gone to great lengths to remove all
> of the long messages from the code, but there are still plenty of
> single-liners.
>
In other words (sorry, but I am a bit simple minded and sometimes need
things to be said twice to get them right):
- "Some of them" => there are MJ messages in (a) file(s) other
than the scripts themselves.
- ".. for now" => This is due to (there is the idea for) a change.
If that hold true it's more than I expected! I am curious about the
mechanism how the external texts are "required" by the scripts.
> MW> What about the guys developing MJ?
>
> I.e. me.
>
Lucky you ;-)
> MW> Would you appreciate to have variables in the scripts rather than raw
> MW> text and have the variables being set by a config file?
>
> I would very much prefer not to do it that way.
^^^^^^^^
What do you mean? Not to extract the "country code". Don't bother with
this stupid idea. Or did you take a look at my modified HTML-script (Did
I send it to you at all?)
> I would instead prefer a for Perl.
> If one existed, I'd be happy to use it.
>
First of all: you say you would "prefer". Again this sounds to me that
the decision to make MJ serve different languages seems to be done.
Okay, "decision" may not fit the facts: maybe MJ has already taken a way
that would make it much easier to add such a feature. Perhaps you could
give me some details what a "good gettext-style library" is, because I
am not quite sure what it means.
The major problem with having any external support to the scripts is to
keep the support synchronized with new releases of the scripts. I would
also like to discuss how this could be assured.
Mathias
References:
|
|