plyr
plyr copied to clipboard
Support for changing language in UI
This issue depends on #1261 and #1269.
In the future, you should add support for user changing of language in UI options. I've already added language name field for this (in src/locales/index.js).
My only concern for this is that it will increase the size of the player somewhat and I'm not sure of the demand for it.
I noticed you have i18n option but there's no example on how to use it. Do I have to set the alternative language text in the player settings or can I have an external file with those settings? Also if you want I can place here a translation for pt-PT.
@HybridSolutions You currently have to pass your translation manually to i18n object in Plyr. See README for details. But my PR #1269 would add support for just specifying languages because translation would be bundled directly in Plyr.
@HybridSolutions You currently have to pass your translation manually to
i18nobject in Plyr. See README for details. But my PR #1269 would add support for just specifying languages because translation would be bundled directly in Plyr.
Well if the author adopts your #1269 , I can provide translation for Portuguese.
Same here for Persian (IR-fa).
Same here for Dutch and Turkish
Same here for Chinese(Traditional)
Hi
Same here for french. I want to translate "speed" in the settings. How to do that?