Jump to content

Way to localize config.html test in plugins?


BillOatman

Recommended Posts

BillOatman

A friend in Germany sent screenshots of the Philips Hue plugin config page.  It struck me how out of place it being in english was,

Is there currently any mechanism, short of having a different plugin for each language supported, to localize the html text?

Link to comment
Share on other sites

  • 2 months later...

I'll write up some documentation when this goes stable, but the next beta server will support this. The simplest example to refer to is the fanart plugin:

 

https://github.com/MediaBrowser/Fanart.tv

 

https://github.com/MediaBrowser/Fanart.tv/blob/master/Fanart/Plugin.cs#L71-L85

https://github.com/MediaBrowser/Fanart.tv/tree/master/Fanart/strings

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...