SV: commit -- Re: Sub language dependency removed


Subject: SV: commit -- Re: Sub language dependency removed
From: Henrik Berg (henrik@lansen.se)
Date: Sun Dec 12 1999 - 14:00:03 CST


> BeginSet(EsES,TRUE)
> BeginSet(EsMX,FALSE)
>
> With this, the fall-back will find ("Es??" && bDefaultForLanguage) rather than
> the first "Es??" match. Now it's up to the translators to be honest about which
> version should be the default case :-)

Good, more features!

> > With "StringSet" it's a little bit differerent, it's not good to start
> > searching for Es??.string, so my patch search for Es.string if EsMX.string
> > is not found. To use this all ????.string files must be renamed ??.string in
> > the next package release.
>
> I didn't apply this part of you patch. I think we should look for
> a different technique to achieve this.

Are there any dirent/findfirst functions in the library? It could be done to search for Sv??.string, even for the most language with most sub languages (Spanish?) it could only match 10-15 files. Adding a 'default' flag in the file could do the same trick as above.

--hb



This archive was generated by hypermail 2b25 : Sun Dec 12 1999 - 14:00:59 CST