[vlc-devel] Re: Issues with Portuguese locale

Christophe Mutricy xtophe at nxtelevision.com
Wed Sep 20 13:13:10 CEST 2006


Hello Ari

On Wed, Sep 20, 06 at 11:03 +0100, Ari Constancio wrote:
> I'm having a problem with the locale file (pt_PT.po) I've been maintaining.
> 
> The pt_PT.po has been put into the SVN trunk but the vlc.mo file
> doesn't get built while compiling from source (Debian), into directory
> /usr/local/share/locale/pt_PT/LC_MESSAGES. As such, using the
> Portuguese locale, I don't get the proper translation in VLC (I get
> the Brazilian one).
> Binary packages also have the same problem.
> 
> It seems the build process has been missing this file.
> 

We usually activate the localisation compilation when they reach 30 or
40 % of translated strings. The portuguese one was around 17% last time
i checked ( but that was a while ago, so i'll recheck with the new po
you sent me when i got home)


> If I compile myself the vlc.mo and put into said directory, it doesn't
> work also. However, if put into /usr/local/share/locale/pt/LC_MESSAGES
> (notice the *pt*), it works as expected.
> I tried also nightly binary packages in Windows. If I put vlc.mo
> (manually) inside ..\locale\pt\LC_MESSAGES or
> ..\locale\pt_PT\LC_MESSAGES, it works either way.
> 
> So, should the locale file be renamed to pt.po instead of pt_PT.po?

Was in the content of your LANG and LANGUAGES environement variable ?
I would expet you LANGUAGES variable to be set to something like
pt_PT,pt,en

Also what other softwares are doing. do they use pt_PT and pt_BR or pt
and pt_BR or ... ?


-- 
Xtophe

-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html



More information about the vlc-devel mailing list