SPECS: filezilla.spec (NEW) - new, builds

Elan Ruusamäe glen at delfi.ee
Thu Feb 23 13:01:49 CET 2006


On Thursday 23 February 2006 13:24, Andrzej Krzysztofowicz wrote:
> Hmmm, how is the locale chosen? Basing on environment with a
> glibc-compatible way?
don't know. dark grounds for me

maybe this gives a clue FileZilla.cpp:
bool CFileZillaApp::SetLocale(int language)
{
    // First check if we can load the new locale
    wxLocale* pLocale = new wxLocale();
    wxLogNull log;
    pLocale->Init(language);
    if (!pLocale->IsOk() || !pLocale->AddCatalog(_T("filezilla")))
    {
        delete pLocale;
        return false;
    }

probably would be reasonable to patch the code to use the .mo catalogs from 
glibc dirs?

-- 
glen


More information about the pld-devel-en mailing list