| View previous topic :: View next topic |
| Author |
Message |
webdevelop
Joined: 09 Sep 2009 Posts: 1
|
|
| Back to top |
|
 |
lostboy

Joined: 02 May 2004 Posts: 6033 Location: toronto, canada
|
Posted: Wed Sep 09, 2009 3:30 pm Post subject: |
|
|
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 |
|
 |
hosser
Joined: 16 Sep 2009 Posts: 1
|
Posted: Wed Sep 16, 2009 7:31 am Post subject: Different Language |
|
|
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 |
|
 |
punk1211
Joined: 08 Nov 2009 Posts: 3
|
Posted: Tue Nov 10, 2009 6:45 pm Post subject: |
|
|
| Strange and quite interesting.I will too try to apply it and will tell you the result. |
|
| Back to top |
|
 |
joshuab
Joined: 21 Nov 2009 Posts: 4
|
Posted: Fri Dec 11, 2009 5:32 am Post subject: |
|
|
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 |
|
 |
lostboy

Joined: 02 May 2004 Posts: 6033 Location: toronto, canada
|
Posted: Fri Dec 11, 2009 6:07 am Post subject: |
|
|
| 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 |
|
 |
saurabh1985
Joined: 18 Jan 2010 Posts: 3
|
Posted: Mon Jan 18, 2010 8:24 am Post subject: For hyper linking code |
|
|
This code is used for hyper link
<a href="...">Saurabh</a> |
|
| Back to top |
|
 |
eastpark786
Joined: 19 Feb 2010 Posts: 25
|
Posted: Fri Feb 19, 2010 1:26 am Post subject: |
|
|
| 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 |
|
 |
nickadams
Joined: 24 Aug 2009 Posts: 4 Location: Chicagoland
|
Posted: Mon Feb 22, 2010 6:53 am Post subject: |
|
|
| U can use simple tag <?php> </?php> To start php work in a website. same as Html. |
|
| Back to top |
|
 |
mans123
Joined: 17 Sep 2009 Posts: 4 Location: San diego
|
Posted: Tue Mar 09, 2010 11:57 am Post subject: |
|
|
Simple add a code of language same as.
<script type="text/javascript"> |
|
| Back to top |
|
 |
|