hello vivek according to me there is no function which directely convert it to punjabi. but you can use gettext. make some read on it. You have to use following function putenv('LANG = '.$language); putenv('LANGUAGE='.$language); setlocale(LC_ALL, $language); $domain = "messages"; // Set the text domain as 'messages' bindtextdomain( $domain, ROOT. '/translation' ); textdomain($domain);
you also need message.mo and .po file. My sugg. will be while coding if you want to display any thing on scree write like this <input type="text" name="t1" id="t1"/> <?php echo _("Text which you want to display on screen"); ?> The text which you want to be get change on li
nk
Brings words and photos together (easily) with
PhotoMail - it's free and works with Yahoo! Mail.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "PHP-Masters" group. To post to this group, send email to PHP-Masters googlegroups.com To unsubscribe from this group, send email to PHP-Masters-unsubscribe googlegroups.com For more options, visit this group at http://groups.google.com/group/PHP-Masters -~----------~----~----~----~------~----~------~--~---
|