Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: Re: .lang files

Re: .lang files

From: Florian Mösch <fmoesch_at_web.de>
Date: Mon, 16 Sep 2002 14:04:20 +0200

> Ok, we've had some time to discuss and think things over [...]
Yes. Absolutely and we didn't get a step ahead ;-)

> A single file for each language. Plain text.
Yes.

> Example:
> ---- snip ----
> id: LANG_LOADING
> desc: the text popping up when a playlist is loading
> eng: "Loading..."
> new: "Laddar in..."
> ---- snip ----
Good design. Now for my ideas to improve it:

- Use a blank line to separate the items. You won't need the lines in
   the given order then as you can detect the blank line instead of the
   "new:" line.

- Write "#id:" instead of "id:",
          "#" instead of "desc:",
          "msgid:" instead of "eng:" and
          "msgstr:" instead of "new:".
   That would make the format gettext compatible. Not that we use it
   (yet) but we coul'd still keep that as an option.

Florian.
Received on 2002-09-16

Page was last modified "Mon Nov 16 10:57:21 2020" The Rockbox Crew -- Privacy Policy