Page 1 of 1

How to localize play failed Error Message ?

Posted: 21 May 2015 06:06
by huiZhang
Hi, i want to localize the error messages when it played failed ? what should i do ? Thanks.

Re: How to localize play failed Error Message ?

Posted: 21 May 2015 10:02
by Rémi Denis-Courmont
What error message? You should not show the LibVLC debug logs to end users.

Re: How to localize play failed Error Message ?

Posted: 21 May 2015 10:36
by huiZhang
Thank you for your reply !
I compiled vlc for ios an used libMobileVLCKit.lib in my app, i want to show localized language warning message when it played failed ,e.g. when i use it play wrong video or url. it show error message in alertView "VLC can't recognize the input's format the format of 'ifle:///......... Have a look at the log for details" , i want to use local language text.
and i found zh_CN.po in vlc/po folder,but i don't know how to compile vlc with localized language.

Re: How to localize play failed Error Message ?

Posted: 21 May 2015 13:04
by Rémi Denis-Courmont
That must be a MobileVLCKit thing. LibVLC does not show errors.

Re: How to localize play failed Error Message ?

Posted: 21 May 2015 13:08
by huiZhang
Thanks , so where should i ask this question ?

Re: How to localize play failed Error Message ?

Posted: 21 May 2015 13:28
by huiZhang
i tried set "Localization native development region" in xcode ,but it still show English warning text.