How To: Bilingual

Jump to: navigation, search

Installation

1. Upload and install the Bilingual plugin into your plugins folder on the server, see: Installing a Plugin

2. Activate it from admin=>Settings=>Plugins page and type in the second language you are using for this archive.

3. The bilingual fields are found in Section 3 of adding and/or editing an item. The following Dublin Core fields hold data in the second language: Title, description, creator, and contributor.

4. If you would like other fields available in the second language, you can add them by editing the plugins/Bilingual/plugin.php file, but you must also add them to your archive database or else they will not be available for you to use.

Using the Plugin

1. To make the bilingual fields appear with the item on your public site, you must edit the items/show.php page in the theme directory (/themeyouchose/items/show.php)

2. Add this code to include a Spanish description:

<?php echo item_metadata($item,'description (Spanish)'); ?>

3. Change the field and language as necessary for each field you want viewable in the public site.

Personal tools

Toolbox