Re: [Bashburn-info] translation system in trunk
Brought to you by:
bashburn
From: A. L. <and...@gm...> - 2008-09-23 12:33:29
|
Bah! Sent the reply to nick and not to the list. I suck. On Tue, Sep 23, 2008 at 2:05 PM, Nick Warne <ni...@li...> wrote: > On Tue, 23 Sep 2008 13:46:05 +0200 > Markus Kollmar <mar...@on...> wrote: > >> I have added a new file "TRANSLATION_RULE" in the base language >> directory of trunk. >> >> It should describe the process of translation. So we can work >> upon/with this "specification". >> But until now it is more a discussion-point - if someone has >> improvements or additional ideas, it's welcome. >> >> (Note, that I am not online until friday or saturday. So I can't >> response in this time, but when I am back I do so.) > > Good idea, but we need to do something here. > > As the file will need to be added to the install script, this then > introduces an additional problem, as the way BB selects lang list in > the configuration is to actually 'ls -1' the lang/ directory - this > means TRANSLATION_RULE will show up as a language! > > So, either change the way the lang/directories are shown (somehow only > list directories), OR, which I prefer, is to create a doc/ directory > whereby all the related information files can live. > Well, a very simple way to get around that would be to ls -1 lang | grep -v TRANSLATION_RULE. Quick and dirty but it works. I'm not against creating a doc directory though if you like that solution better. -- Anders Lindén http://bashburn.sf.net |