podlove / podlove-web-player

Podlove Web Player is a Podcast-optimized, HTML5-based audio player based on VueJS.
https://docs.podlove.org/podlove-web-player/
Other
354 stars 69 forks source link

Wordpress localization: force German version #933

Closed michaeljakob closed 4 years ago

michaeljakob commented 4 years ago

How do you force the podcast player (wordpress plugin) to use German as language?

How do I use the files at https://github.com/podlove/podlove-ui/blob/development/apps/player/lang/de.json ?

Podcast Player always shows English text like "Chapters", see the screenshot below:

Screenshot 2020-07-13 22 24 53
54696d21 commented 4 years ago

changing the line in src/utils/runtime.js const locale = navigator.language || navigator.userLanguage || 'en-us' toconst locale = 'de-de'should work

alexander-heimbuch commented 4 years ago

This is a duplicate issue, please see https://github.com/podlove/podlove-ui/issues/574 for an answer.