suma237 Posted July 11, 2007 Share Posted July 11, 2007 give me some idea about how to translate the whole site's content into another language by click on the flag Link to comment https://forums.phpfreaks.com/topic/59390-how-to-translate-site-into-different-languages/ Share on other sites More sharing options...
hackerkts Posted July 11, 2007 Share Posted July 11, 2007 You might wanna take a look at this http://www.cwhnetworks.com/forums/index.php?showtopic=3004 I written it some times ago. Link to comment https://forums.phpfreaks.com/topic/59390-how-to-translate-site-into-different-languages/#findComment-295046 Share on other sites More sharing options...
suma237 Posted July 11, 2007 Author Share Posted July 11, 2007 i want to translate the whole site with out defining the variable.using gettext function. is it possible ? or give me some idea . Link to comment https://forums.phpfreaks.com/topic/59390-how-to-translate-site-into-different-languages/#findComment-295050 Share on other sites More sharing options...
suma237 Posted July 11, 2007 Author Share Posted July 11, 2007 please help me..bump! Link to comment https://forums.phpfreaks.com/topic/59390-how-to-translate-site-into-different-languages/#findComment-295067 Share on other sites More sharing options...
gevo12321 Posted July 11, 2007 Share Posted July 11, 2007 well im actually making a site in 2 languages and i just rewrite the same thing in the other language Link to comment https://forums.phpfreaks.com/topic/59390-how-to-translate-site-into-different-languages/#findComment-295070 Share on other sites More sharing options...
suma237 Posted July 11, 2007 Author Share Posted July 11, 2007 tell me how you did that? Link to comment https://forums.phpfreaks.com/topic/59390-how-to-translate-site-into-different-languages/#findComment-295072 Share on other sites More sharing options...
Yesideez Posted July 11, 2007 Share Posted July 11, 2007 http://www.phpfreaks.com/forums/index.php/topic,147877.0.html Link to comment https://forums.phpfreaks.com/topic/59390-how-to-translate-site-into-different-languages/#findComment-295074 Share on other sites More sharing options...
suma237 Posted July 11, 2007 Author Share Posted July 11, 2007 php code in need.Tell me what is gettext? Link to comment https://forums.phpfreaks.com/topic/59390-how-to-translate-site-into-different-languages/#findComment-295076 Share on other sites More sharing options...
gevo12321 Posted July 11, 2007 Share Posted July 11, 2007 tell me how you did that? Â not sure what u mean but i have two folders one folder is for the english pages the other is for the other language. creatinga code that would translate the english into another language is too hard, not impossible, but would require too much time and im not advanced enough in php to do that nor do i know grammar and the rules of the language well enough, so, since im fluent in both languages i write a homepage for english users and a home page for the other language and just keep the data in to different databases Link to comment https://forums.phpfreaks.com/topic/59390-how-to-translate-site-into-different-languages/#findComment-295078 Share on other sites More sharing options...
suma237 Posted July 11, 2007 Author Share Posted July 11, 2007 ok gevo12321.You have any idea about GETTEXT function and how to use this? Link to comment https://forums.phpfreaks.com/topic/59390-how-to-translate-site-into-different-languages/#findComment-295079 Share on other sites More sharing options...
Yesideez Posted July 11, 2007 Share Posted July 11, 2007 gevo, that's how I made a friend's website for his guesthouse except I had 5 languages to play with. Was a large number of pages!!! Link to comment https://forums.phpfreaks.com/topic/59390-how-to-translate-site-into-different-languages/#findComment-295081 Share on other sites More sharing options...
tapos Posted July 11, 2007 Share Posted July 11, 2007 You can find the gettext function here  http://us.php.net/manual/en/ref.gettext.php  You also find it in phpmanual.  -- Tapos Pal Link to comment https://forums.phpfreaks.com/topic/59390-how-to-translate-site-into-different-languages/#findComment-295083 Share on other sites More sharing options...
suma237 Posted July 11, 2007 Author Share Posted July 11, 2007 what is GETTEXT function in PHP Link to comment https://forums.phpfreaks.com/topic/59390-how-to-translate-site-into-different-languages/#findComment-295085 Share on other sites More sharing options...
gevo12321 Posted July 11, 2007 Share Posted July 11, 2007 ok gevo12321.You have any idea about GETTEXT function and how to use this? nop sorry Link to comment https://forums.phpfreaks.com/topic/59390-how-to-translate-site-into-different-languages/#findComment-295086 Share on other sites More sharing options...
suma237 Posted July 11, 2007 Author Share Posted July 11, 2007 ok.thanks gevo Link to comment https://forums.phpfreaks.com/topic/59390-how-to-translate-site-into-different-languages/#findComment-295090 Share on other sites More sharing options...
suma237 Posted July 11, 2007 Author Share Posted July 11, 2007 thanks for your valuable time Link to comment https://forums.phpfreaks.com/topic/59390-how-to-translate-site-into-different-languages/#findComment-295095 Share on other sites More sharing options...
suma237 Posted July 11, 2007 Author Share Posted July 11, 2007 anybody knows about it?.."GETTEXT" Link to comment https://forums.phpfreaks.com/topic/59390-how-to-translate-site-into-different-languages/#findComment-295141 Share on other sites More sharing options...
mmarif4u Posted July 11, 2007 Share Posted July 11, 2007 http://my2.php.net/gettext Link to comment https://forums.phpfreaks.com/topic/59390-how-to-translate-site-into-different-languages/#findComment-295146 Share on other sites More sharing options...
suma237 Posted July 11, 2007 Author Share Posted July 11, 2007 i am reading that manual but how to install it? how to apply it? Link to comment https://forums.phpfreaks.com/topic/59390-how-to-translate-site-into-different-languages/#findComment-295147 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.