Instruction Manual for

Grid Market Directory implemented in Localization (Tamil)

Introduction:

Grid Market Directory (GMD) serves as a registry for publication and discovery of Grid service providers and their services. The Grid Market Directory enables Grid service providers to publish their services and related costs to the public, so that consumers can browse through web browser or query by using SOAP to find a suitable service meeting their requirements. GMD users use the web services and their own API for creating the Grid services. Grid services support discovery, register and usage. To provide all these services in Tamil language by a common man in the world, localization of GMD is developed.

This document includes the Tamil localization of GMD alone on Linux platform. It consists of two phases.

Phase I: Setting up Tamil fonts in GNU/Linux

Phase II: Tamil Localization of GMD.

Phase I:

Tamil fonts for GMD project in GNU/Linux

Amudham Tamil font for GMD Project in GNU/LINUX

We prefer Amudham Tamil Font for GMD project in GNU/Linux.

How to install tamil ttf font in a GNU/Linux System?

Installing Truetype Fonts in Linux:

Distributions (RedHat, SuSE etc)

1. Prepare a directory for your fonts

Note: The following instructions have to be carried out as the root user.

Create a new directory with the name of your choice for your truetype fonts, with read and execute permission under /usr/local/fonts/. For example, a directory /usr/local/fonts/ttf created assumes ttf as the directory name with read and execute permission for all users.

 

2. Copy your fonts

Now, copy all the truetype fonts (*.ttf) that you need into the directory created in step 1.

If you want to copy the files from the Windows partition, these fonts are normally stored in the windows/fonts directory, or winnt/fonts in the case of Windows NT or 2000.

If you have downloaded fonts as a ZIP file you must use the archiver or the unzip command to extract the font files first. Some self-extracting ZIP executables can also be extracted using the unzip command.

3. Telling XWindows about your fonts

Now, enter the following commands in sequence from a terminal window:

cd /usr/local/fonts/ttf
ttmkfdir > fonts.scale
mkfontdir

If you view the directory you should now see two new files among the truetype fonts - "fonts.scale" and "fonts.dir". These files simply contain a list with the full font names for each truetype font.

Finally, you have to add the newly set up directory to the list of locations which XWindows will search for fonts.

If you have chkfontpath

RedHat users can use the chkfontpath command to add the directory:

chkfontpath -a /usr/local/fonts/ttf
If you don’t have chkfontpath

If you don’t have the chkfontpath command, you will have to edit the file /etc/X11/xfs/config (or /etc/X11/fs/config), find the line which starts with "catalog=", and add your directory at the end of the list, separated by a comma.

That’s it! You can test it now by running the xfontsel program from the terminal, or run the "Font Selector" program from the Utilities menu in Gnome. You should immediately see the truetype font names in the list of fonts.

In older versions of XWindows you may need to restart the font server for it to register the new fonts. The easiest way to do this is to reboot.

 

 

4. Adding more fonts

If you add more fonts to the directory you have to re-run the following commands to regenerate the fonts.dir file:

ttmkfdir > fonts.scale
mkfontdir

You do not have to rerun the chkfontpath command - that is only done when you have a new directory to add.

Phase II:

How to install GMD Project in GNU/LINUX?

How to modify GMD files for Localization (Tamil)?

     General procedure:

            Step 1: set your choice of Tamil font.

            Step 2: set the input style.

            Step 3: set the style of textarea.

            Step 4. set the td style

            Step 5: set the font face for all the table data cells.

 

            For example the following code sets the fonts and styles of our choice

 

Step 1: <font face=amudham>

Step 2: <style> INPUT { font-family:amudham; font-size:120%; } </style>

Step 3: <style> TEXTAREA { font-family:amudham; font-size:120%; } </style>

Step 4: <style> TD { font-family:amudham; } </style>

Step 5: <table><font  face=amudham> table data </font> </table>

Step 6: All the contents are typed in Tamil using Tamil editor

 

The following files are modified as given below:

 

S.No

File name

Modification done

  1.  

gmdjsp/addrecord_detail.jsp

Set the font face of your choice within the <body> tag as given in step1.

  1.  

gmdjsp/display_all.jsp

Set the font face of your choice within the <body> tag as given in step1. and step 6

  1.  

gmdjsp/gmdindex.htm          

No modification required

  1.  

gmdjsp/gmdindex.jsp

No modification required

  1.  

gmdjsp/gmdmenu.jsp

Set the font face of your choice within the <table> tag as given in step5 and step 6

  1.  

gmdjsp/gmdprovidermenu.jsp

Set the font face of your choice within the <table> tag as given in step5 and step 6

  1.  

gmdjsp/gmdservicetypemenu.jsp

Set the font face of your choice within the <body> tag as given in step 4.

  1.  

gmdjsp/gmdtitle.htm             

Set the font face of your choice within the <table> tag as given in step5 and step 6

  1.  

gmdjsp/gmdwelcome.htm 

Set the font face of your choice within the <table> tag as given in step5 and step 6

  1.  

gmdjsp/index.htm

No modification required

  1.  

gmdjsp/loginerror.jsp  

Set the font face of your choice within the <table> tag as given in step5 and step 6

  1.  

gmdjsp/managementaddform.jsp

Set the font face of your choice outside of  the </head> tag as given in step 2 , step 4 and  within the <table> tag as given in step5 and step 6

  1.  

gmdjsp/managementservicedetail.jsp

Set the font face of your choice within the <table> tag as given in step5 and step 6

  1.  

gmdjsp/managementtitle.jsp

Set the font face of your choice within the <table> tag as given in step5 and step 6

  1.  

gmdjsp/providerlogin.htm

Set the font face of your choice outside of  the </head> tag as given in step 2 and  within the <table> tag as given in step5 and step 6

  1.  

gmdjsp/providerlogin.jsp

No modification required

  1.  

gmdjsp/providerout.jsp

No modification required

  1.  

gmdjsp/providerservicetable.jsp

Set the font face of your choice within the <table> tag as given in step5 and step 6

  1.  

gmdjsp/quitloginerror.jsp

Set the font face of your choice within the <table> tag as given in step5 and step 6

  1.  

gmdjsp/quitlogin.htm

Set the font face of your choice outside of  the </head> tag as given in step 2 and  within the <table> tag as given in step5 and step 6

  1.  

gmdjsp/quitlogin.jsp

No modification required

  1.  

gmdjsp/quitprocess.jsp

Set the font face of your choice within the <table> tag as given in step5 and step 6

  1.  

gmdjsp/quitwarning.jsp

Set the font face of your choice outside of  the </head> tag as given in step 2 and  within the <table> tag as given in step5 and step 6

  1.  

gmdjsp/Reg_certificate.htm

Set the font face of your choice outside of  the </head> tag as given in step 2 and  within the <table> tag as given in step5 and step 6

  1.  

gmdjsp/reg.htm

No modification required

  1.  

gmdjsp/registerform.htm

Set the font face of your choice outside of  the </head> tag as given in step 2, step 3 and  within the <table> tag as given in step5 and step 6

  1.  

gmdjsp/register_detail.jsp

Set the font face of your choice within the <body> tag as given in step1.

  1.  

gmdjsp/reg.jsp

Set the font face of your choice within the <table> tag as given in step5 and step 6

  1.  

gmdjsp/remove_detail.jsp

No modification required

  1.  

gmdjsp/result.jsp

No modification required

  1.  

gmdjsp/servicedetail.jsp

Set the font face of your choice outside of  the </head> tag as given in step 4 and  within the <table> tag as given in step5 and step 6

  1.  

gmdjsp/service_management.htm

Set the font face of your choice within the <table> tag as given in step5 and step 6

  1.  

gmdjsp/servicemanagement.jsp    

No modification required

  1.  

gmdjsp/servicetypetable.jsp

Set the font face of your choice outside of  the </head> tag as given in step 4 and  within the <table> tag as given in step5 and step 6

  1.  

gmdjsp/tree.jsp 

Set the font face of your choice within the <table> tag as given in step5 and step 6

  1.  

gmdjsp/update_detail.jsp

Set the font face of your choice within the <body> tag as given in step1.

 

                                                    *********************

 

Your valuable suggestions and comments are invited to stselvi@annauniv.edu and itmit@annauniv.edu

 

Grid Computing Group Name: GRIDGROUP@ITMIT

Coordinator : Dr.S.Thamarai Selvi

Members:

Sl. No.

Name

Sl. No.

Name

1

K.Vijayakumar

7

S.Selvakumar

2

G.N.Deepak

8

A.Ganapathiram

3

C.Valliammal

9

S.Parthasarathy

4

R.Sudha

10

R.John Leo Antonet

5

P.Varalakshmi

11

A.P.Sakthikumar

6

Ponsy S.K. Sathiabama

12

K.Kamesh

Copyright GRIDGROUP@ ITMIT – ANNA UNIVERITY and Last modified: 29.01.2005