Get term name in a specific language
efoula opened this issue · 1 comments
efoula commented
I am trying to get the term name in Arabic (only have 2 active langs English and Arabic) with no luck using "qtrans_use"
$terms = get_the_terms($postid, 'age'); if ($terms) { foreach ($terms as $term) { $val_en = $term->name; $val_ar = qtrans_use('ar', $term->name,false); } } echo $val_ar;
any luck?
herrvigg commented
The qTranslate-X project is abandoned since 2016 so you won't get any update here. I welcome you to switch to qTranslate-XT. Please read our README carefully to proceed with the installation. It's safe and being used by many people.