Rockbox.org home
releases
current build
extras FAQ
manual
wiki
docs index mailing lists
IRC
forums bugs
patches



Rockbox mail archive

Subject: Re: .lang files
From: Kjell Ericson (Kjell.Ericson_at_haxx.se)
Date: 2002-09-16


On Mon, 16 Sep 2002, Markus Braun wrote:

> Just a question. What if the string contains one or more conversation
> specifier (like %d, %s, ..) For some languages it may be necessary to
> reorder text and specifier.

That would be illegal. You must rephrase you translation then - that should be
possible in all languages at a reasonable cost.

Write in the description the format type you require is my suggestion:
---- snip ----
id: LANG_STATUS
desc:displaying progress and name of file in order %s (filename), %d (percent)
eng: "Playing %s, done %d%%"
---- snip ----

  // Kjell



Page was last modified "Mar 9 2008" The Rockbox Crew