The <SocialShare> component comes with two localized strings, provided by default in English:
aria-label attribute, used for accessibility purposesTo fully localize the component in your needed languages, you only need to override their default values:
label slotaria-label attribute, just pass it the <SocialShare> componentThe following example fully localizes the component in Italian:
<SocialShare
v-for="network in ['facebook', 'x', 'linkedin', 'email']"
:key="network"
:network="network"
:aria-label="`Condividi con ${network}`"
>
<template #label>Condividi</template>
</SocialShare>
aria-label attribute, make sure that values are unambiguous for people using assistive technologies. An easy way to solve this is using the network name as part of it, instead of i.e. "share button"