plyr icon indicating copy to clipboard operation
plyr copied to clipboard

Support for changing language in UI

Open filips123 opened this issue 7 years ago • 8 comments

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).

filips123 avatar Nov 21 '18 15:11 filips123

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.

sampotts avatar Dec 08 '18 05:12 sampotts

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 avatar Feb 08 '19 17:02 HybridSolutions

@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.

filips123 avatar Feb 10 '19 09:02 filips123

@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.

Well if the author adopts your #1269 , I can provide translation for Portuguese.

HybridSolutions avatar Feb 21 '19 16:02 HybridSolutions

Same here for Persian (IR-fa).

erfansahaf avatar Aug 28 '19 22:08 erfansahaf

Same here for Dutch and Turkish

ghost avatar Jan 18 '20 21:01 ghost

Same here for Chinese(Traditional)

fogdingding avatar Mar 24 '21 06:03 fogdingding

Hi

Same here for french. I want to translate "speed" in the settings. How to do that?

StorkST avatar Feb 23 '25 02:02 StorkST