PHP forums, MySQL forums, Web Development resources

Home PageHome    PHP ResourcesTopic List    FAQFAQ    SearchSearch    MemberlistMemberlist    UsergroupsUsergroups 
 RegisterRegister
    ProfileProfile    Log in to check your private messagesLog in to check your private messages    Download the RSS Reader RSS Feed Download the RSS Reader RSS for this forum Log inLog in 

PHP Forum :: MySQL Forum :: Java Script Forum



HTML Programming
Goto page 1, 2, 3  Next
 
Post new topic   Reply to topic    WeberForums.com Forum Index -> HTML
View previous topic :: View next topic  
Author Message
webdevelop



Joined: 09 Sep 2009
Posts: 1

PostPosted: Wed Sep 09, 2009 12:35 pm    Post subject: HTML Programming Reply with quote

How can you show diffrent language on web page through HTML link?

Web Development, Web Design, Web Development
Back to top
View user's profile Send private message
lostboy



Joined: 02 May 2004
Posts: 6033
Location: toronto, canada

PostPosted: Wed Sep 09, 2009 3:30 pm    Post subject: Reply with quote

add a parameter to the link indicating language and code on the server to handle that new language

<a href='some_page.php?lang=fr'>French Version</a>
<a href='some_page.php?lang=en'>English Version</a>
<a href='some_page.php?lang=gr'>German Version</a>
Back to top
View user's profile Send private message Send e-mail AIM Address MSN Messenger
hosser



Joined: 16 Sep 2009
Posts: 1

PostPosted: Wed Sep 16, 2009 7:31 am    Post subject: Different Language Reply with quote

Of course, we can show different language using the anchor tag.
<a href="...">language</a>
In that way, you can show the different languages.
Back to top
View user's profile Send private message
punk1211



Joined: 08 Nov 2009
Posts: 3

PostPosted: Tue Nov 10, 2009 6:45 pm    Post subject: Reply with quote

Strange and quite interesting.I will too try to apply it and will tell you the result.
Back to top
View user's profile Send private message
joshuab



Joined: 21 Nov 2009
Posts: 4

PostPosted: Fri Dec 11, 2009 5:32 am    Post subject: Reply with quote

You mean to say, just by giving

lostboy wrote:

<a href='some_page.php?lang=fr'>French Version</a>
<a href='some_page.php?lang=en'>English Version</a>
<a href='some_page.php?lang=gr'>German Version</a>


alone is sufficient.
does this have any thing to do with the content translation from one language to another.
______________________________
Web Development Services
Back to top
View user's profile Send private message
lostboy



Joined: 02 May 2004
Posts: 6033
Location: toronto, canada

PostPosted: Fri Dec 11, 2009 6:07 am    Post subject: Reply with quote

Of course not. HTML is static and can't do any translation ofthe content. You could use the google translate API thru php to dynamically translate the content, but you be better serves to write that translated content to a new Lang specific file for performance.
Back to top
View user's profile Send private message Send e-mail AIM Address MSN Messenger
saurabh1985



Joined: 18 Jan 2010
Posts: 3

PostPosted: Mon Jan 18, 2010 8:24 am    Post subject: For hyper linking code Reply with quote

This code is used for hyper link
<a href="...">Saurabh</a>
Back to top
View user's profile Send private message
eastpark786



Joined: 19 Feb 2010
Posts: 25

PostPosted: Fri Feb 19, 2010 1:26 am    Post subject: Reply with quote

This is basically HTM code which you use in forum or in SEO i am also using this code in my work its call basic HTMl code.
Back to top
View user's profile Send private message
nickadams



Joined: 24 Aug 2009
Posts: 4
Location: Chicagoland

PostPosted: Mon Feb 22, 2010 6:53 am    Post subject: Reply with quote

U can use simple tag <?php> </?php> To start php work in a website. same as Html.
Back to top
View user's profile Send private message
mans123



Joined: 17 Sep 2009
Posts: 4
Location: San diego

PostPosted: Tue Mar 09, 2010 11:57 am    Post subject: Reply with quote

Simple add a code of language same as.
<script type="text/javascript">
Back to top
View user's profile Send private message
Display posts from previous:   
WeberTrivia Questions WeberTrivia Questions
 Think you are smart? Prove it!. Try your skills with these questions :
 WeberTrivia QuestionsRecursive arrays and multi-dimensional arrays are one and the same. (PHP and MySQL)
 WeberTrivia QuestionsThe \"cache_dir\" tag of the squid configuration has a default of /var/spool/squid. (Linux)

WeberTrivia Questions



PHP Code Examples
 Stream diffrent sizes of images from a single image to save disk space.
 JavaScript dropdown list menu to switch any page.
 Dump the contents of a PHP variable in html format with a recursive list of subfolders and files from a given root directory.
 PHP Dump in html format the contents of one array variable with a recursive list of the nested array variables inside.
 Link Extractor - This function is used to extract links from a given URL. This will convert relative path into absolute path and also remove PHPSESSID stuff.
 Building a Dynamic Form using Javascript and innerHTML. Add form elements in realtime without refreshing the page.
 A PHP Calendar function with CSS : add a cool calendar to any php page by just adding a calendar class based function.
Post new topic   Reply to topic    WeberForums.com Forum Index -> HTML All times are GMT + 2 Hours
Goto page 1, 2, 3  Next
Page 1 of 3

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




Powered by phpBB © 2001, 2005 phpBB Group
PHP Forum :: MySQL Forum :: Java Script Forum