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 2
Plugin Development
News Plugin (Rss, Atom)
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="morpheus_xx" data-source="post: 923371" data-attributes="member: 48495"><p>strange, it already takes the culture as argument: "CultureInfo culture"</p><p> </p><p>So it should work already. Maybe @<a href="https://forum.team-mediaportal.com/members/albert.67886/" target="_blank">Albert</a> can check this?</p><p> </p><p>edit:</p><p>The converter is used by BindingDependency, line 125:</p><p> protected bool Convert(object val, Type targetType, out object result)</p><p> {</p><p> if (_valueConverter != null)</p><p> return _valueConverter.Convert(val, targetType, _converterParameter, <span style="color: #ff0000"><strong>CultureInfo.InvariantCulture</strong></span>, out result);</p><p> return TypeConverter.Convert(val, targetType, out result);</p><p> }</p><p> </p><p>Is this right, or should the localization culture be used here?</p></blockquote><p></p>
[QUOTE="morpheus_xx, post: 923371, member: 48495"] strange, it already takes the culture as argument: "CultureInfo culture" So it should work already. Maybe @[URL='https://forum.team-mediaportal.com/members/albert.67886/']Albert[/URL] can check this? edit: The converter is used by BindingDependency, line 125: protected bool Convert(object val, Type targetType, out object result) { if (_valueConverter != null) return _valueConverter.Convert(val, targetType, _converterParameter, [COLOR=#ff0000][B]CultureInfo.InvariantCulture[/B][/COLOR], out result); return TypeConverter.Convert(val, targetType, out result); } Is this right, or should the localization culture be used here? [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 2
Plugin Development
News Plugin (Rss, Atom)
Contact us
RSS
Top
Bottom