Hi,
I did install Zenphoto in my site, but my host don't have the gettex support and, now, the brazilian portugueses translation (1.1.6) and the Portugal portuguese translation (1.2), don't works in my Zenphoto. Or better: no one translation works in my site. I did read the Zenphoto translation manual and I did everything write there, but didn't help me. What can I do?
There is much more text to be translated than just the strings in your theme files. If you are using plugins, each plugin may need to be translated. Also template functions used may need translation.
You really should try to convince your ISP to add gettext support to your PHP. If they will not I would seriously consider changing to a better ISP.
"Rating" is not translatable?
Please, help me!
sbillard,
The rating don't change and no more works.
What I did:
}
echo "".sprintf(gettext('Votação: %1$u (Votos: %2$u )'),$rating,$tempalbum->get("total_votes"))."";
}
if($showstatistic === "hitcounter" OR $showstatistic === "rating+hitcounter") {
$hitcounter = $tempalbum->get("hitcounter");
if(empty($hitcounter)) { $hitcounter = "0"; }
echo "".sprintf(gettext("Vizualizações: %u"),$hitcounter)."";
}
if($showdesc) {
echo "".my_truncate_string($tempalbum->getDesc(), $desclength)."";
}
echo "";
}