Rockbox mail archiveSubject: Re: .lang files
Re: .lang files
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 16 Sep 2002 11:55:09 +0200 (MET DST)
On Mon, 16 Sep 2002, Florian Mösch wrote:
> You've already got my well-thought objections before. I told you precisely
> why I would prefer using a standard format with exactly the same benefits
> as your proprietary approch. I won't repeat it again.
You told me your objections and suggested an alternative approach. I
I told you why that was not working. We cannot have running-around looking
for string matches run-time in Rockbox.
If you have a solution to that problem, then feel free to provide it. I have
not see any, posted by you or anyone else.
Sorry, then I go with the best available suggestion. Which happens to be
almost the one I posted about, refined a little and somewhat more
thought-through and discussed with Linus and Björn.
> printf( _("Hello World.\n") );
> which is (I think so) very readable and very compact.
> I like it more than
> printf( str(HELLO_WORLD) );
> but this is only my opinion...
I can only agree that it is more readable and more convenient when writing
the code. I'm sorry we can't go that road.
May I repeat again that it would make a lot of run-time string-matching that
we don't want to do just to find translated strings.
Again, feel free to prove me wrong.
> > o desc would be a volountary/optional description of the phrase
> ... which I think is not necessary if you use "speaking" IDs or use the
> original string as ID and include a reference to the sources as a comment
> in the language file. The reference to the source should not be optional
> but mandatory.
A source code reference could easily be added to this once someone really
feel a need for it. It is quite easy to extend this format.
> I really don't want to restart tis discussion ...
> .... as *big boss* (TM) seems to have made his decision. Sorry for my
> complaints. But I'm still wondering why he sends "requests for comments"
> if he doesn't like critics.
I don't know who you're talking about, but I'll try to ask the next big boss
Unfortunately, being a grown-up is mandatory when discussing this with me.
-- Daniel "Bagder" Stenberg -- http://rockbox.haxx.se/Received on 2002-09-16