Skip to content

reload componentn when language changed #513

@bluelemonade

Description

@bluelemonade

how can i force a reload of the componente when i change the language on the page in a floater.
Is there a function to do this?

<vue-plyr :options="optionsAudio" ref="vplyraudio2" @play="vPlayCheck('audio2')" >
        <audio controls crossorigin playsinline>
              <source
                   :src="'/mp3/' + audiobasename' + '_' + store.state.language + '.mp3'"
                   type="audio/mp3"
              />  
        </audio>
</vue-plyr>  

I tried to use :key="store.state.language", but with each language change, the old language remains, but without the global css style for plyr

image

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions