[vlc-devel] [vlc-commits] luahttp intf: Make use of gettext

Rémi Denis-Courmont remi at remlab.net
Fri Oct 28 22:44:59 CEST 2011


Le vendredi 28 octobre 2011 23:32:03 Francois Cartegnie, vous avez écrit :
> On 28/10/2011 22:24, Rémi Denis-Courmont wrote:
> >> luahttp intf: Make use of gettext
> > 
> > The use of gettext is not really correct though. You should use the
> > browser language (Accept-Language), not the VLC process locale.
> 
> That's what I thought too. But do you have a way to get gettext works
> with another locale, without affecting the whole process ?

Oh sure, uselocale() does just that, though we only used it for number 
formatting so far.

-- 
Rémi Denis-Courmont
http://www.remlab.net/
http://fi.linkedin.com/in/remidenis



More information about the vlc-devel mailing list