Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Reply
 
Thread Tools Search this Thread
  #1  
Old 06-03-2009
Member
 
Join Date: Feb 2009
Posts: 45
cool Broadcast Multilingual website over Internet

Hello,

I have an Project requirement for a small company, they wanted to create website for Online computer selling and for that they want their website to be a Multilingual and wanted to broadcast over the internet, Is it possible to do so? what requirements would be there to have an multilingual website.

Thanks for your Information.
Reply With Quote
  #2  
Old 06-03-2009
Member
 
Join Date: Dec 2008
Posts: 202
Re: Broadcast Multilingual website over Internet

Most of the text displayed on any website resides within HTML, although it may sit next to dynamic PHP code. The first step in my solution was to remove the static text and place it in a table within the database, with each block of text being identified by a short text key, for example 'frontpage_introduction'. All that is left to do is add a little bit of PHP code to retrieve the text that this key refers to:

Code:
<?
  //displays the text for the key 'frontpage_introduction'  
  echo GetText('frontpage_introduction');
  
  function GetText($key)
  {
    //NOTE: code to connect to the database has been omitted      
    $strQuery = "SELECT Description FROM EnglishText WHERE Key='$key'";
    $myrow = mysql_fetch_array(mysql_query($strQuery));
    return $myrow["description"];
  }
?>
With the text now stored in the database it is now possible to start serving localised text. In the above example the English text is stored in a table 'EnglishText', a second table can be created, 'GermanText' with the same structure, i.e. short text keys associated with the larger text descriptions.
Reply With Quote
  #3  
Old 06-03-2009
Member
 
Join Date: Dec 2008
Posts: 183
Re: Broadcast Multilingual website over Internet

website that provides the content in a language rather than English language is necessary for you. Chinese, Arabic, Persian, Dutch, France and many other languages are general samples of most used languages on the Internet.
For you to start a multilingual website, it is vital to consider some tips before starting to design and develop your websites:

The Code Page
The best code page that you should choose for your web pages is Unicode. Unicode is a kind of numeric presentation of characters that is two bytes and so can contain up to 65535 characters to show. Until now, there have been no human being languages in the universe that have had more than these much characters.
Code:
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
Tools For Development
For creating web pages in Unicode format, you should have a tool to be able to type in your language. One of the tools that are widely used by web developers is Microsoft Front Page. If this tool is installed on Windows XP then you have the most powerful set of software to create Unicode documents.

Nature of the Language
If your language is Right-To-Left like many of Asian and Middle East languages, for example, Arabic, Persian and Hebrew, you should tune your operating system to be able to switch from Left-To-Right to Right-To-Left typing method to be able to type from Right and from Left.

Navigation and Design Considerations
Some languages force to apply some changes in the design and navigation of your website. For example, if you have a vertical menu bar, you may put it in the left of your pages for English pages and in the right for Arabic pages because Arabic is a RTL language and people are used to start reading pages from right to left.
Reply With Quote
  #4  
Old 06-03-2009
Member
 
Join Date: Dec 2008
Posts: 128
Re: Broadcast Multilingual website over Internet

this can be done via langauge files!
you may want to have a folder named 'languages' ,for example, and in it language files e.g. english.lng, arabic.lng, dutch.lng ...etc
these file will have variables that contains your text ,, like this:

PHP Code:
PHP Code:
<?PHP
//note that you have to open php tags since it's not a php extension file ! 
$txt['main_welcome'] = 'Hi there !'
$txt['main_login'] = 'Please login!'
//etc ..
?>
Reply With Quote
Reply

  TechArena Community > Software > Software Development
Tags: , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Broadcast Multilingual website over Internet"
Thread Thread Starter Forum Replies Last Post
Referring website on Internet Daniel23 Technology & Internet 5 13-01-2010 01:44 AM
Why my Website is not Visible on the Internet austin26 Technology & Internet 3 28-11-2009 05:39 PM
Broadcast TV Vidoes on the internet xanix Hardware Peripherals 3 11-07-2009 06:13 PM
World's 1st Multilingual User Generated Gaming Website Zapakworld.com Launched Rocky4 Video Games 0 23-10-2008 11:20 AM
Won't Play Internet radio Broadcast Adalia! Media Player 3 13-05-2008 06:14 AM


All times are GMT +5.5. The time now is 12:32 PM.