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

Question: Possible to use get_page_link($id) or get_permalink($id) to get a link for a target language? #118

Closed
alancwoo opened this issue Apr 6, 2015 · 2 comments
Labels

Comments

@alancwoo
Copy link

alancwoo commented Apr 6, 2015

As the title explains, I was wondering if there's a way to use get_page_link($id) or get_permalink($id) to get a link in a target language?

For example, on a German page, to have a link to another page that is in English.

(The use case here is a splash page with a choice of languages that takes you to another page in either German or English)

@johnclause
Copy link
Member

You can pass URL through qtranxf_get_url_for_language($url,$lang,true); to get it in language needed. Is this what you meant?

@johnclause
Copy link
Member

I assume it is closed, we can still write to closed issue, and may reopen it if needed.

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

No branches or pull requests

2 participants