Complete.Org: Mailing Lists: Archives: freeciv-dev: April 2000:
[Freeciv-Dev] Re: Alpha Centauri
Home

[Freeciv-Dev] Re: Alpha Centauri

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Robert Brady <rwb197@xxxxxxxxxxxxxxx>
Cc: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: Alpha Centauri
From: Tomasz Wegrzanowski <maniek@xxxxxxxx>
Date: Mon, 24 Apr 2000 23:32:31 +0200

On Mon, Apr 24, 2000 at 09:29:09PM +0100, Robert Brady wrote:
> On Mon, 24 Apr 2000, Tomasz Wegrzanowski wrote:
> 
> > i18n means gettext (done) and utf8 (todo)
> > is there anything I missed about i18n ?
> 
> Try running a client with, say, LANG=pl and connect to
> civserver.freeciv.org. Note that all the messages the server makes are in
> English.
> 
> The server shouldn't send text to the clients, it should send a string
> for the message and the strings/numbers to be inserted, so the code can be
> gettext()'d on the client, and then stuff can be formatted into it.

There is no library that facilate this
Should we make such one ?
This is only sending and receiving set of strings that will be gettexted later,
but writing 20+-lines of code to print one message like `%s costs %d %s You 
have %d %s'
is quite frustrating



[Prev in Thread] Current Thread [Next in Thread]