Hi Everybody,
I am desinging a website in php which is in english. where i have to include my mother language in the same site in some place. I dont know how to do this. Can any one help me. Is any code is there. Please help me with the code as soon as possible
How to use two language in my website
Moderator: General Moderators
- DigitalMind
- Forum Contributor
- Posts: 152
- Joined: Mon Sep 27, 2010 2:27 am
- Location: Ukraine, Kharkov
Re: How to use two language in my website
Use constants or an array with messages.
- AbraCadaver
- DevNet Master
- Posts: 2572
- Joined: Mon Feb 24, 2003 10:12 am
- Location: The Republic of Texas
- Contact:
Re: How to use two language in my website
Yes, for some simple stuff like button, greetings, etc. many people use constants, but if you are wanting to have content in multiple languages you can do something like this: viewtopic.php?f=6&t=113700&p=596913#p596913
mysql_function(): WARNING: This extension is deprecated as of PHP 5.5.0, and will be removed in the future. Instead, the MySQLi or PDO_MySQLextension should be used. See also MySQL: choosing an API guide and related FAQ for more information.