|
|
Rockbox mail archiveSubject: Re: What function loads a .lang file?From: TP Diffenbach (rockbox_at_diffenbach.org) Date: 2003-04-29
Quoting Daniel Stenberg <daniel_at_haxx.se>:
> On Tue, 29 Apr 2003, TP Diffenbach wrote:
> I am only for this kind of operation if the lang system is written to
If we were to blank out these strings we would also be changing the settings code that had provided these strings as options. That's what would have impelled us to consider the string uneccesary. The setting value range would also change, and as that value is what's used as the index, we'd still index corectly. It';s the same sort of issue as with any inter-operable code; we just need the equivalent of a "compiler error" -- an error in the make file --to flag this. So we modify the lang file to include groups, and the perl scripts appropriately.
>
So, reload the appropriate .lang file and see below...
Load the translated config file, change your language setting to english, and save a config file. Voila, a "standard" (english) config file to post.
This is also what you'd do if you decided to remove a particulat .lang file: translate all your configs before removing it.
> The existing translated phrases won't cover the settings keywords all the
Yes, and I'd remove the hard-coding and duplication too. Which is in fact what I'm working on. If the consensus is that this isn't good, I'll drop it.
But I really think the "average user" benefits from configs translated into his native lanaguge. Why support multiple langauges and then force users to translate from technical audio jargon in English? The developers (who speak great English, which is a great boon for me, and thank you, considering that my Swedish is about as good as most Americans -- i.e., non-existant) have no problem with English configs, but the developers also have no problem writing assembly at the MAS chip, too. :)
-- Archos FM needs a Rockbox!
Page was last modified "Jan 10 2012" The Rockbox Crew |