Hello!
I was searching for a tool that would enable me to translate my Multi-Lingual site's K2 Extra Fields and I read a lot about the FaLang tool, however I got a problem.
I use this code in my PHP to call my K2 Extra Fields:
$this->item->extraFields->pais->value
Where "pais" is my extra field Alias.
Whenever I do this, in my original language page (portuguese), I get the expected results, a list of countries. I used VAR_DUMP to get the info.
<?php var_dump($this->item->extraFields->pais->value); ?>
//Results
string(40) "Brasil, Estados Unidos, Canadá, México"
If I do the same in my site, but in a different language (Spanish or English), I get nothing. If I use VAR_DUMP, it returns: NULL.
May anyone help me please?