Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get term name in a specific language #616

Open
efoula opened this issue Aug 29, 2019 · 1 comment
Open

Get term name in a specific language #616

efoula opened this issue Aug 29, 2019 · 1 comment

Comments

@efoula
Copy link

efoula commented Aug 29, 2019

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
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants