Boost logo

Boost :

Subject: Re: [boost] [Locale] Preview of 3rd version
From: Cory Nelson (phrosty_at_[hidden])
Date: 2010-09-11 02:14:42


On Fri, Sep 10, 2010 at 11:49 AM, Artyom <artyomtnk_at_[hidden]> wrote:
>
>
>>
>> Hi again,
>
>
> Hello,
>
>>
>> I've finished reading the documentation and I just have a  question : what if
>> I want to inject manually the content of the  translation/dictionary files in
>> the generator instead of using the add path  functions?
>
> How do you exactly what to inject such translations? Boost.Locale
> dictionaries are actually GNU Gettext compiled dictionaries.
>
> What do you expect to provide to boost.locale interface.
>
> Don't forget that it is not that simple - just give a dictionary, there
> may be a set of fall-backs, for example if you have locale en_GB.UTF-8
> but you don't have dictionary under /en_GB/LC_MESSAGES/foo.mo it
> would try to load them from /en/LC_MESSAGES/foo.mo so I don't exactly
> understand how do you expect to do this manually. Also it does not
> load all dictionaries at once, it only loads thous required for
> specific locale and not for all locales.
>
> So basically you ask for for "file-system" plugin that allows you to see
> anything
> as file system... I don't think that is fully reasonable.

Is it really not going to be easy to make this policy-based? I think
it's a valid concern. There is a lot of software that packs files
together inside a zip or another container, for better or worse.

-- 
Cory Nelson
http://int64.org

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk