How to translate text and textfields with Joomfish
From JReviews Documentation
Revision as of 19:25, 11 January 2010 by Jreviews (Talk | contribs) (Created page with 'In JReviews text fields and textrea fields have to be added to a file to get to be known to Joomfish. === 1. How to make listing fields (text, textarea) translatable === The r…')
In JReviews text fields and textrea fields have to be added to a file to get to be known to Joomfish.
1. How to make listing fields (text, textarea) translatable
The red cornered fields should be made translatable. There are 2 textfields and one textarea.
Create a new file named "jreviews_content.xml" with the following code:
<?xml version="1.0" ?> <joomfish type="contentelement"> <name>jReviews Content</name> <author>Thorsten</author> <version>1.0</version> <description>Definition for JReviews custom field content</description> <reference> <table name="jreviews_content"> <field type="referenceid" name="contentid" translate="0">ID</field> <field type="titletext" name="contentid" translate="1">ID</field> <field type="text" name="jr_name" translate="1">Name</field> <field type="text" name="jr_hersteller" translate="1">Hersteller</field> <field type="textarea" name="jr_herstellerdescription" translate="1">Herstellerbeschreibung</field> </table> </reference> </joomfish>