There are 2 sets of elements that need translating.
The first is DB content, the other is static page content.

Using the sf I18n classes - you can generate content files for the static  
page content.
You can then go through a process that uses an external source (such as  
Google translate) that will generate language files for them.

Using plugins such as Doctrine::Google will allow the DB content to be  
translated.

Now Google translate has become pretty decent - but you'll need to have  
some mother-tongues about to check what's been generated.

Info about the sf I18n classes can be found here:  
http://www.symfony-project.org/forms/1_2/en/08-Internationalisation-and-Localisation






On Tue, 29 Sep 2009 21:33:38 +0200, Frank He <[email protected]> wrote:

> But that is still only used to translate a term, not the whole page. How  
> can
> we translate a whole page is really a headache for me.
>
> On Tue, Sep 29, 2009 at 3:26 PM, david <[email protected]>  
> wrote:
>
>>
>> There's a Doctrine 1.2 extension that uses Google Translate - info:
>> http://www.doctrine-project.org/extensions
>>
>>
>> On Tue, 29 Sep 2009 20:10:45 +0200, Frank He <[email protected]> wrote:
>>
>> > I saw that before.
>> > But how can I translate the whole web page and display it back on the
>> > page?
>> >
>> > if you have a look at www.dishgods.tv, you will know what I need.  
>> Their
>> > processing of web translation is pretty good, just like using i18n in
>> > backend, but actually, they are using google translate.
>> >
>> > Thanks
>> >
>> > On Tue, Sep 29, 2009 at 1:32 PM, Eno <[email protected]> wrote:
>> >
>> >>
>> >> On Tue, 29 Sep 2009, xhe wrote:
>> >>
>> >> > But I found some website did a good job for his. If you go to
>> >> www.dishgods.tv,
>> >> > and in the forum, you can click the various language, then the URL
>> >> > appeared like http://xxx.xxx.xxx?language=zh-CN, after that the  
>> whole
>> >> > page is translated into Chinese.
>> >> >
>> >> > This is pretty good solution, as if in symfony culture setting, but
>> >> > actually, it is using google to translate.
>> >> >
>> >> > So my question is how we can implement this in symfony? Using  
>> google
>> >> > library to translate the page, but don't leave the current page.
>> >>
>> >>
>> >> http://code.google.com/apis/ajaxlanguage/
>> >>
>> >> Oh and curl / PECL-http is your friend :-)
>> >>
>> >>
>> >>
>> >> --
>> >>
>> >>
>> >>
>> >> >
>> >>
>> >
>> > >
>>
>>
>> --
>> Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
>>
>> >
>>
>
> >


-- 
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to