Appearance of selector text
-
I’m trying to put in the header of my site selector for language qtranslate slug. I found this to work:
<php if (function_exists (‘qts_language_menu’)) qts_language_menu (‘text’, array (‘short’ => true));?>
but, how can make it looks “ES | CA | EN” instead of “es ca en”?
With qtranslate I have this code:
<php if (function_exists (‘qtrans_generateLanguageSelectCode’)) qtrans_generateLanguageSelectCode (‘text’)?> <script> jQuery (document). ready (function () {jQuery (‘. lang-is a span’). html (‘ES | ‘), jQuery (‘. lang-ca to span ‘). html (‘ CA | ‘), jQuery (‘. lang-in a span ‘). html (‘ EN ‘);}) </ script>
Works in terms of appearance, but does not translate url.
Thank you!,
Esther
- The topic ‘Appearance of selector text’ is closed to new replies.