[haiku] Re: Haiku Translation Assistant ready for action

  • From: "Travis D. Reed" <tdreed@xxxxxxxxx>
  • To: haiku@xxxxxxxxxxxxx
  • Date: Sun, 17 Jan 2010 14:51:33 -0600

Ugh! Not fingerprint calculation! :(
--
Travis D. Reed


On Sun, Jan 17, 2010 at 2:47 PM, PulkoMandy <pulkomandy@xxxxxxxxx> wrote:

>  On dialects: I have to defer to PulkoMandy here. I'm not exactly sure how
>> this would work. For en_UK.catkeys, only a few strings would be needed:
>> "Colour," for instance. No need in duplicating strings.
>>
>
> That should work... the code is commented for some reason.
> The problem is you'll have to compute the fingerprint for the incomplete
> catkeys file.
>
> The locale kit is designed to have a fallback system as follow :
>
> Loading catalogs :
> - It trys the first language in your preference set (lets say en_UK)
> - If found, it loads it, if not, it trys the superset (en, for example)
> - If not, it moves on to the next language and try again
>
> Getting a string
> - It trys the loaded catalog (en_UK)
> - If not found, it trys the parent (en)
> - It crawl up to the top (there may be some other levels like en_UK_oxford,
> or whatever. But I hope we won't need that.)
> -If nothing else works, it fallbacks to the string in the sourcecode.
>
> So having incomplete catalogs should be fine.
>
>
> --
> Adrien Destugues / PulkoMandy
> http://pulkomandy.ath.cx
>
>

Other related posts: