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
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 "Jan 10 2012" The Rockbox Crew
aaa