How to localize play failed Error Message ?

This forum is about all development around libVLC.
huiZhang
Blank Cone
Blank Cone
Posts: 24
Joined: 11 May 2015 13:12

How to localize play failed Error Message ?

Postby huiZhang » 21 May 2015 06:06

Hi, i want to localize the error messages when it played failed ? what should i do ? Thanks.

Rémi Denis-Courmont
Developer
Developer
Posts: 15268
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: How to localize play failed Error Message ?

Postby Rémi Denis-Courmont » 21 May 2015 10:02

What error message? You should not show the LibVLC debug logs to end users.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

huiZhang
Blank Cone
Blank Cone
Posts: 24
Joined: 11 May 2015 13:12

Re: How to localize play failed Error Message ?

Postby huiZhang » 21 May 2015 10:36

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.

Rémi Denis-Courmont
Developer
Developer
Posts: 15268
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: How to localize play failed Error Message ?

Postby Rémi Denis-Courmont » 21 May 2015 13:04

That must be a MobileVLCKit thing. LibVLC does not show errors.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

huiZhang
Blank Cone
Blank Cone
Posts: 24
Joined: 11 May 2015 13:12

Re: How to localize play failed Error Message ?

Postby huiZhang » 21 May 2015 13:08

Thanks , so where should i ask this question ?

huiZhang
Blank Cone
Blank Cone
Posts: 24
Joined: 11 May 2015 13:12

Re: How to localize play failed Error Message ?

Postby huiZhang » 21 May 2015 13:28

i tried set "Localization native development region" in xcode ,but it still show English warning text.


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 10 guests