How to translate your own component in joomla! 1.5

Posted on Updated on

In Joomla! 1.5

If you have programmed a component in joomla 1.5, you are able to make available to translate into any language that joomla could do. for this you should use the most popular and only translation pack “joomfish”.

1. install your language for site in joomla administrator (download from the languages at joomla.org)

2. install joomfish

3. enable your language if it is not only one of your site

4. select the database table you have in your own component

5. get all the fields available in the table and arrange it like follows in an XML format

<?xml version=”1.0″ ?>
<joomfish type=”contentelement”>
<name>Your Component</name>
<author>Your Name</author>
<version>2.0.4</version>
<description>Definition for your component</description>
<reference type=”content”>
<table name=”yourtablename”>
<field type=”referenceid” name=”id” translate=”0″>ID</field>
<field type=”titletext” name=”field1″ translate=”1″>Field 1</field>
<field type=”text” name=”field2″ translate=”1″>Field 2</field>
<field type=”text” name=”field3″ translate=”1″>Field 3</field>
<field type=”created_date” name=”created” translate=”0″>Created</field>
<field type=”modified_date” name=”modified” translate=”0″>Modified</field>
<field type=”checked_out_by” name=”checked_out” translate=”0″>Check out by</field>
<field type=”checked_out_date” name=”checked_out_time” translate=”0″>Check out date</field>
<field type=”published” name=”published” translate=”0″>published</field>
</table>
</reference>
</joomfish>

6. save the file according to the table name so you can identify it also, and go to joomfish in admin panel

7. select content element and select install. select your file and select upload file and install

8.ย  Go to control panel of joomfish and select translate, now your table is available to translate

Advertisements

One thought on “How to translate your own component in joomla! 1.5

    snadiuddy said:
    May 15, 2010 at 4:54 am

    thanks! ๐Ÿ™‚

    lets write them until the admit it, or stop doing it! i am writing them now!

    ๐Ÿ™‚

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s