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:
We prefer Amudham Tamil Font for GMD project in GNU/Linux.
Installing Truetype Fonts in Linux:
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.
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.
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.
RedHat users can use the chkfontpath command to add the directory:
chkfontpath -a /usr/local/fonts/ttf
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.
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.
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 |
|
gmdjsp/addrecord_detail.jsp |
Set the font face of your choice within the <body> tag as given in step1. |
|
gmdjsp/display_all.jsp |
Set the font face of your choice within the <body> tag as given in step1. and step 6 |
|
gmdjsp/gmdindex.htm |
No modification required |
|
gmdjsp/gmdindex.jsp |
No modification required |
|
gmdjsp/gmdmenu.jsp |
Set the font face of your choice within the <table> tag as given in step5 and step 6 |
|
gmdjsp/gmdprovidermenu.jsp |
Set the font face of your choice within the <table> tag as given in step5 and step 6 |
|
gmdjsp/gmdservicetypemenu.jsp |
Set the font face of your choice within the <body> tag as given in step 4. |
|
gmdjsp/gmdtitle.htm |
Set the font face of your choice within the <table> tag as given in step5 and step 6 |
|
gmdjsp/gmdwelcome.htm |
Set the font face of your choice within the <table> tag as given in step5 and step 6 |
|
gmdjsp/index.htm |
No modification required |
|
gmdjsp/loginerror.jsp |
Set the font face of your choice within the <table> tag as given in step5 and step 6 |
|
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 |
|
gmdjsp/managementservicedetail.jsp |
Set the font face of your choice within the <table> tag as given in step5 and step 6 |
|
gmdjsp/managementtitle.jsp |
Set the font face of your choice within the <table> tag as given in step5 and step 6 |
|
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 |
|
gmdjsp/providerlogin.jsp |
No modification required |
|
gmdjsp/providerout.jsp |
No modification required |
|
gmdjsp/providerservicetable.jsp |
Set the font face of your choice within the <table> tag as given in step5 and step 6 |
|
gmdjsp/quitloginerror.jsp |
Set the font face of your choice within the <table> tag as given in step5 and step 6 |
|
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 |
|
gmdjsp/quitlogin.jsp |
No modification required |
|
gmdjsp/quitprocess.jsp |
Set the font face of your choice within the <table> tag as given in step5 and step 6 |
|
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 |
|
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 |
|
gmdjsp/reg.htm |
No modification required |
|
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 |
|
gmdjsp/register_detail.jsp |
Set the font face of your choice within the <body> tag as given in step1. |
|
gmdjsp/reg.jsp |
Set the font face of your choice within the <table> tag as given in step5 and step 6 |
|
gmdjsp/remove_detail.jsp |
No modification required |
|
gmdjsp/result.jsp |
No modification required |
|
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 |
|
gmdjsp/service_management.htm |
Set the font face of your choice within the <table> tag as given in step5 and step 6 |
|
gmdjsp/servicemanagement.jsp |
No modification required |
|
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 |
|
gmdjsp/tree.jsp |
Set the font face of your choice within the <table> tag as given in step5 and step 6 |
|
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