How to localize play failed Error Message ?

iOS, iPad, iPhone, tvOS specific usage questions
huiZhang
Blank Cone
Blank Cone
Posts: 24
Joined: 11 May 2015 13:12

How to localize play failed Error Message ?

Postby huiZhang » 22 May 2015 02:37

Hello,
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.
Thanks.

fkuehne
Developer
Developer
Posts: 7262
Joined: 16 Mar 2004 19:37
VLC version: 0.4.6 - present
Operating System: Darwin
Location: Germany
Contact:

Re: How to localize play failed Error Message ?

Postby fkuehne » 23 May 2015 21:00

You need to compile libvlc with Gettext, embed the respective .mo files in your app bundle and hope for the best.
VideoLAN
Felix Paul Kühne
Medic. VLC developer for appleOS since before you were born.
Blog: https://www.feepk.net

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

Re: How to localize play failed Error Message ?

Postby huiZhang » 25 May 2015 07:46

Thank you for your Reply.
i installed Gettext , but found nothing about compile libVlc with Gettext by google,could you give me a example how to do this please ? Thanks!


Return to “VLC for iOS, iPadOS and Apple TV”

Who is online

Users browsing this forum: No registered users and 9 guests