home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
MediaPortal 1 Plugins
Popular Plugins
My TVSeries
Different Language on different Series
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="barneh" data-source="post: 1119898" data-attributes="member: 101875"><p>Hi again!</p><p>First of all thanks <a href="https://forum.team-mediaportal.com/members/ltfearme.52219/" target="_blank">ltfearme</a> for the support in getting me going!</p><p></p><p>For my MP setup I have some series that are original Swedish or Norwegian and English.</p><p>And I have had some nag about not getting my Norwegian and Swedish series in the native language.</p><p>Therefore I have looked into this!</p><p></p><p>In OnlineAPI.cs there is a method called SelLanguageAsString. This is set as language for everything, series, episodes and banner you name it! (this SelLanguageAsString comes from the language selected in the ComboBox in Online Data tab).</p><p></p><p><strong></strong></p><p><strong><span style="font-size: 15px">So my solution is this</span></strong>:</p><p>Implement a checkbox that is named "Override Language". </p><p>Implement a method in OnlineAPI.cs that is called GetOverrideLanguage(String SeriesID)</p><p>And in every method that uses SelLanguageAsString today (in OnlineAPI.cs), implement the following:</p><p>Check if the "Override Language" is set too true?</p><p>If Yes call the GetOverrideLanguage() method that get the language sat in online_series language field, otherwise use the SelLanguageAsString. </p><p></p><p><strong></strong></p><p><strong><span style="font-size: 15px">How to change language</span></strong>:</p><p>For changing the language it has to make the "Override Language" option true.</p><p>The the user have to go to the Details Tab -> Select a Series and the change the preferred language for this Series. (see attached picture).</p><p></p><p>For now you can see that the language is just a editable field, but the goal is to have a combobox where there is possible to select between the same language that are present in the Language combobox in the Online Data tab.</p><p></p><p></p><p>So my question is, is this a good solution?</p><p>Have I missed something?</p><p>Are there other solution that is better?</p><p>What do you think?</p></blockquote><p></p>
[QUOTE="barneh, post: 1119898, member: 101875"] Hi again! First of all thanks [URL='https://forum.team-mediaportal.com/members/ltfearme.52219/']ltfearme[/URL] for the support in getting me going! For my MP setup I have some series that are original Swedish or Norwegian and English. And I have had some nag about not getting my Norwegian and Swedish series in the native language. Therefore I have looked into this! In OnlineAPI.cs there is a method called SelLanguageAsString. This is set as language for everything, series, episodes and banner you name it! (this SelLanguageAsString comes from the language selected in the ComboBox in Online Data tab). [B] [SIZE=4]So my solution is this[/SIZE][/B]: Implement a checkbox that is named "Override Language". Implement a method in OnlineAPI.cs that is called GetOverrideLanguage(String SeriesID) And in every method that uses SelLanguageAsString today (in OnlineAPI.cs), implement the following: Check if the "Override Language" is set too true? If Yes call the GetOverrideLanguage() method that get the language sat in online_series language field, otherwise use the SelLanguageAsString. [B] [SIZE=4]How to change language[/SIZE][/B]: For changing the language it has to make the "Override Language" option true. The the user have to go to the Details Tab -> Select a Series and the change the preferred language for this Series. (see attached picture). For now you can see that the language is just a editable field, but the goal is to have a combobox where there is possible to select between the same language that are present in the Language combobox in the Online Data tab. So my question is, is this a good solution? Have I missed something? Are there other solution that is better? What do you think? [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
Popular Plugins
My TVSeries
Different Language on different Series
Contact us
RSS
Top
Bottom