Language Translation

Namecheap AuctionsNamecheap Auctions
Namecheap AuctionsNamecheap Auctions
SpaceshipSpaceship
Watch

monfu

New Member
Impact
0
Hello All,

I am designing a dynamic webpage in English language, and I wish to have it translated to various languages on the fly. What I wish to do is for example, enter some text in the back-end console in English, and then this is translated dynamically in various languages on my web page, in the various language sections. Is this possible? Does a component exist for this? Or do I have to do it all manually?

Thanks for your help and time
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
I think I know what your on about, but your going about it wronge. Instead of just putting in static text use variables. Then put all your variables with there corresponing phrases into seperate files for each lanuage. eg. english.php, french.php. Then include which ever lanuage file correspons to the users lanuage at the top of each page.

PHP:
//lanuage file
-----------------

<?php
$s123 = "hello";
$s124 = "How are you?";
?>
-----------------

//any page on your site
-----------------

<?php
include($selected_lan.'.php');
?>

<p>
<?php
//prints hello in whatever lanuage has been selected
    echo $s123;
?>
</p>
<p>
<?php
//prints How are you? in whatever lanuage has been selected
   echo $s124;
?>
</p>
-------------------

The only way you can get your text translated properly is to get someone who knows the lanuage you need it translated to and get them to translate it for you.

hope this is of some help to you!
 
0
•••
Yeah I got that

Thanks mate!
 
0
•••
CatchedCatched

We're social

Escrow.com
Spaceship
Domain Recover
CryptoExchange.com
Catchy
DomDB
NameFit
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back