Set default language when got multiple external subtitles
#1
Dear Borad.

There can be several subtitles to one movie. eg,
movie.avi
movie English.srt
movie Finnish.srt

but how to tell the system always look for Finnish version first and put that on?
Reply
#2
you can't at the moment.
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#3
Can't it be like in DVD world. Xmbc know my region to be Finnish. Smile
Reply
#4
Shouldn't be too hard to implement, I guess.

I also use subtitles in multiple languages.
If subtitle files are named like:

thematrix.en.srt
thematrix.fr.srt

... for English and French, XBMC could have a preference list, defaulting to maybe the GUI language <locale><language>english</language>

<sublangorder>fr en</sublangorder>
Reply
#5
Question 
Would we not also need to account for different naming schemes?

I mean some people might use the two letter naming extension for the lanuage while others use the full English name for that language (it would also have to be case insensitive)

Maybe if we in each language XML strings include a new string with both the full name and the short (two letter) name for subtitles in that language.

English would then for example be:
Code:
<SubtitleLanguageNames>English,EN</SubtitleLanguageNames>

French would be
Code:
<SubtitleLanguageNames>French,FR</SubtitleLanguageNames>

Swedish would be
Code:
<SubtitleLanguageNames>Swedish,SE</SubtitleLanguageNames>


That way people would use either or, so:
Quote:thematrix.en.srt
thematrix.fr.srt
thematrix.se.srt:
or
Quote:TheMatrix.English.srt
TheMatrix.French.srt
TheMatrix.Swedish.srt
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Reply
#6
sounds good, but will this feature be implemented also on future releases? Smile
Reply
#7
Well, someone would actually have to code it first, ...any volunteers?
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Reply
#8
A simple workaround that seems to work for me is that I don't indicate the langage for the default one.

ex:
subtitle.srt (for the default (french in my case))
subtitle.en.srt
subtitle.nl.srt

I didn't test extensively but it always open the first one by default.
Reply
#9
^ what about for idx/sub files?
Reply
#10
currently in mplayer options on xp machine I am using -slang eng to specify the default subtitle language which works with idx/sub files.

can that not be done on XBMC?
Reply

Logout Mark Read Team Forum Stats Members Help
Set default language when got multiple external subtitles0