dev builds
themes manual
device status forums
mailing lists
IRC bugs
dev guide

Rockbox mail archive

Subject: Re: .lang files

Re: .lang files

From: Kjell Ericson <>
Date: Mon, 16 Sep 2002 11:57:17 +0200 (MET DST)

On Mon, 16 Sep 2002, Daniel Stenberg wrote:

> now I really only want really well-thought objections with motivations why
> this language file format is bad:

Uhu, I'm out of topic then - because I think it is pretty good. :-)

Extending your example I understand that this is what you want when you got
more items:

---- snip ----
desc: the text popping up when a playlist is loading
eng: "Loading..."
new: "Laddar in..."
desc: the no-answer in yes/no (not confusing with "none")
eng: "No"
new: "Nej"
---- snip ----

> The order of these keywords are important. They should only come in the order
> as stated above (to make writing scripts for this easier).

Nah, I'm against that. Writing a perl script is easy anyway. If you say the
order is important than you (almost) say that we will never extend the
format (easiest way to write a script is in your case to always read four
lines and skip the tag text).

> We might want some header to the language file, stating which charset this
> language is using.

Yep. New tag items for me.

Do we want comments too? # good to have or just messing up the script

 // Kjell
Received on 2002-09-16

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy