multilingual description in search.php

I'm assuming there is no way to create a multilingual description in search.php like the ones that are on the album/image pages? I would like to provide information on how to search there, perhaps provide a tag listing, etc, and it would be nice if it were in more than one language.

Thinking on it more, I could use javascript to check the browser language and do it that way, just wondering if I'm missing something that's more automated.

Thanks.

Using v1.3.1.2 but hope to upgrade soon.

Comments

  • acrylian Administrator, Developer
    You can call Zenpage pages on any other page using the object model. So create a Zenpage page and keep it unpublished to call it on the search page.
  • ah, OK, will have to look into that. Thanks.
  • flu Member
    For example :
    <?php switch (getOption('locale')) {
    default:
    case 'en_US':
    echo 'search like that blablabla';
    break;
    case 'fr_FR':
    echo 'cherche comme ça blablabla';
    }?>
Sign In or Register to comment.