Kodi Community Forum
Multi-language support for subtitles - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Kodi Application (https://forum.kodi.tv/forumdisplay.php?fid=93)
+--- Thread: Multi-language support for subtitles (/showthread.php?tid=6383)

Pages: 1 2 3 4


- jimmyhwang - 2004-10-11

i added multi language support for display text subtitle in xbmc and mplayer, how to add the update to cvs or give someone?

example:
xxxx.en.srt
xxxx.cht.srt
:p


- t029248 - 2004-10-11

(jimmyhwang @ oct. 11 2004,05:08 Wrote:i added multi language support for display text subtitle in xbmc and mplayer, how to add the update to cvs or give someone?

example:
xxxx.en.srt
xxxx.cht.srt
:p
think you very much, @Home we use 3 languages and this is very welcome!


- pike - 2004-10-11

you upload it to xbmc @ sourceforge - patches

thx


- Gamester17 - 2004-10-11

k. how does in work in the gui/osd?, can you switch among them in the osd just like if they were intregrated into an ogm container?
ps! please remember to upload source code to our sourceforge patches tracker (will then be added after the feature freeze if ok) Cool


- jimmyhwang - 2004-10-11

yes, it is can switch language on osd panel.


- StoneRoses - 2004-10-11

thanks you, now xbmc works exactly like directvobsub (directshow subtitle filter for win32).

i've been waiting for this features since xbmp age. Smile


- jimmyhwang - 2004-10-11

in the version, support extended name need hardcode to table, maybe i will change it display name filter from filename like as directvobsub Blush


- Gamester17 - 2004-10-11

if it was 'hardcoded' into the existing settings.xml that would of course have benifits too Wink give some extra options. could mabe code an new section in the settings.xml could for exampel have a language code translation list (which power-users could edit)?:

<sub_language_codes>
<lang>english = english</lang>
<lang>english = english</lang>
<lang>english = english</lang>
<lang>eng = english</lang>
<lang>eng = english</lang>
<lang>eng = english</lang>
<lang>german = german</lang>
<lang>german = german</lang>
<lang>german = german</lang>
<lang>ger = german</lang>
<lang>ger = german</lang>
<lang>ger = german</lang>
<lang>de = german</lang>
<lang>de = german</lang>
<lang>french= french</lang>
<lang>french = french</lang>
<lang>french = french</lang>
<lang>fr = french</lang>
<lang>fr = french</lang>
<lang>fr = french</lang>
</sub_language_codes>

making it optional to use a language code translation list mabe best? but i think a such filter on-top would make it much nicer.
oh, making it case insensitive would of course make it better over all as then don't need to type in "eng", "eng" and "eng".


- jimmyhwang - 2004-10-12

i try make it to like as directvobsub, i mean any extended lang name in file even no in the list, if must to be hardcoded, i think make language setting to settings.xml is better.
Smile


- simon1219 - 2004-10-12

wow, jimmyhwang, keep it up. will it able to switch between text subtitles and image-based subtitles also

e.g. srt and idx,sub ?


- jimmyhwang - 2004-10-12

oh, i have not to modify any code related with graphics subtitle code, i think i will test it after finished text subtitle switch. Smile


- afeno - 2004-10-17

hi there,
i will buy a xbox just to watch divx with this great program!!!
there are news about the posibility of load different subtitles for a movie?

thanks.

regards.
alfredo.


- jimmyhwang - 2004-10-17

i will upload latest version multi-language support today, the latest version include below functions

supported functions
-------------------
1.support multi text subtitle
2.support multi graphics subtitle (supported mix text subtitle)
3.set default subtitle by last choice subtitle, and remembert last 3 subtitle for the default.
4.support extended name convert for display and define in xboxmediacenter.xml


- Striker - 2004-10-19

nice, hope it gets added soon Smile


- jimmyhwang - 2004-10-19

(afeno @ oct. 17 2004,11:54 Wrote:hi there,
i will buy a xbox just to watch divx with this great program!!!
there are news about the posibility of load different subtitles for a movie?

thanks.

regards.
alfredo.
you can select defferent subtitle for movie on panel, but can't show up to 2 more language on screen.