How to make title tag translatable?
-
Hi,
I have a WordPress site and I’m using qTranslate-X.
I have two languages (English and Deutsch).
I’m on the page titled Map (in English) and Landkarte (in Deutsch).
Site title is Jane Roe.In head the title is written like this:
<title><?php wp_title( '|', true, 'right' ); ?></title>
and displays like this in the browser’s toolbar like this:
MapLandkarte - Jane Roe
This is not okay because it displays the page title in English (Map) as well as in Deutsch (Landkarte).
So what should I do to make it display like this (if I’m on English site):
Map - Jane Roe
and like this if I’m on Deutsch site:
Landkarte - Jane Roe
Thanks if you can help.
- The topic ‘How to make title tag translatable?’ is closed to new replies.