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



Rockbox mail archive

Subject: Re: question about location of information in lang files

Re: question about location of information in lang files

From: Magnus Holmgren <magnushol_at_gmail.com>
Date: Sun, 22 Mar 2009 14:01:38 +0100

alex wallis wrote:

> What I would like to know is does it matter in a lang file where
> information is put, provided the rules are followed with regards to
> formatting and conventions of structure.

For english.lang, the order is important, but for translations it is not
(though having the same order in a translation can make it easier to
maintain).

The reason the order of english.lang is important is to not break older
voice files. New strings might not be voiced without a new voice file,
but at least older (and unchanged) strings will be correctly voiced if
all new strings are added to the end.

> So provided things don't have to be stuck in particular areas of the
> lang file what I am planning to do is just copy and paste the various
> things that his patches need at the end of the file. Even if that makes
> it look untidy its only for my own personal use.

That should work fine.

   Magnus
Received on 2009-03-22

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