FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » need help to develop 2 language english and french
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
need help to develop 2 language english and french [message #172293] Sat, 12 February 2011 06:51 Go to next message
ilaya is currently offline  ilaya
Messages: 1
Registered: February 2011
Karma: 0
Junior Member
In admin side he enters the english text and same will be converted
into french (using google API) for example in admin side if i enter
the text 'Category' the same converted into 'catégorie'(in IE---
> cat�rie) and also save into database as

nameEnglish---> category
nameFrench --->catégorie
since the process is fine but my problem is in user side, if the user
selects french language the content has to display in french. but it
is displaying as 'catégorie' instead of what i was stored in DB
'catégorie'. I dont know what to do. Should i install any language
pack? or is it db issue?

http://gates.cc/works/jp-evolution/blog-detail.php?lang=2&bId=7
Re: need help to develop 2 language english and french [message #172294 is a reply to message #172293] Sat, 12 February 2011 09:05 Go to previous message
Michael Fesser is currently offline  Michael Fesser
Messages: 215
Registered: September 2010
Karma: 0
Senior Member
.oO(ilaya)

> In admin side he enters the english text and same will be converted
> into french (using google API) for example in admin side if i enter
> the text 'Category' the same converted into 'catégorie'(in IE---
>> cat?rie) and also save into database as

You really want to offer your visitors an automatically translated site?

> nameEnglish---> category
> nameFrench --->catégorie
> since the process is fine but my problem is in user side, if the user
> selects french language the content has to display in french. but it
> is displaying as 'catégorie' instead of what i was stored in DB
> 'catégorie'. I dont know what to do. Should i install any language
> pack? or is it db issue?

There's nothing to install, you just have to make sure that the content
is stored with an appropriate encoding (e.g. UTF-8) and then delivered
as such to the clients. The above looks like an encoding mismatch, i.e.
it looks like UTF-8 content delivered as ISO-something. Fix that. And
hire a professional translator.

Micha
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: file_put_contents not creating file
Next Topic: DNS Frage
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Fri Sep 20 19:32:52 GMT 2024

Total time taken to generate the page: 0.02789 seconds