Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

English-to-Spanish
I've been asked to develop a site which will display the content in either
English or Spanish, upon the user's choice. Other than using Google's
translation ability or something similar I don't know any means for making a
n
automatic translation. Can anybody recommend a PHP library that will handle
this kind of translation behind the scenes?


Report this thread to moderator Post Follow-up to this message
Old Post
Vic
08-19-07 03:01 AM


Re: English-to-Spanish
Vic wrote:
> I've been asked to develop a site which will display the content in either
> English or Spanish, upon the user's choice. Other than using Google's
> translation ability

You call this joke "ability"? LOL! Google's translations are good for a
laugh, but not for serious purposes.

> or something similar I don't know any means for making an
> automatic translation. Can anybody recommend a PHP library that will handl
e
> this kind of translation behind the scenes?

AFAIK, there isn't any. And even if there was such an extension, I
wouldn't trust it. Automatic translations often produce bullshit. So,
the best way to do the job is to produce to static versions in English
and Spanish and to display them on the user's choice.

Alex

Report this thread to moderator Post Follow-up to this message
Old Post
Alexander Schestag
08-19-07 09:00 AM


Re: English-to-Spanish
Alexander Schestag <alex@schestag.info> writes:

> Vic wrote:

[...]
 
>
> AFAIK, there isn't any. And even if there was such an extension, I
> wouldn't trust it. Automatic translations often produce bullshit. So,
> the best way to do the job is to produce to static versions in English
> and Spanish and to display them on the user's choice.

One idea to implement this is to grab the user's choice as, say, "en" or
"fr" and use this prefix to see if a page is available. If you had the
time to translate index.html to french, then index.fr.html will exist,
and so you display it; if not, then index.en.html would be displayed or
whatever your default is.

In fact, you may even tell the user you had not had the time to
translate, and he may do it and send it to you, and you will gladly
accept the kindness.

Report this thread to moderator Post Follow-up to this message
Old Post
Daniel C. Bastos
08-19-07 11:59 PM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

PHP Language archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 12:08 PM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.