If anyone is still having this issue, here’s how I fixed it.
It’s a bit dirty but it works (sorry for my clumsy english)
The issue comes from OptionTree, which returns an array for every option that was registered through a checkbox. So the “Open in a new tab” option breaks everything.
Thing is, OptionTree saves this option as an array containing either “_blank” or nothing, and when Polylang tries to translate an array … well … it doesn’t.
So go into your theme folder, then open functions/theme-options.php and replace this bit :
array(
'id' => 'social-target',
'label' => 'Link Options',
'desc' => '',
'std' => '',
'type' => 'checkbox',
'choices' => array(
array(
'value' => '_blank',
'label' => 'Open in new window'
)
)
)
… with this :
array(
'id' => 'social-target',
'label' => 'Link Options',
'desc' => 'Type "_blank" to open in a new window, leave empty for default behavior.',
'std' => '_blank',
'type' => 'text',
'choices' => array()
)
What this does is it replaces the checkbox for the “Link Options” section (in theme options) with a text input.
All you have to do now is type “_blank” manually for every social link that you want opened in a new tab, like this https://i.imgur.com/XnABqiE.png
Then save again.
Hopefully this helps.