Home »
Imported messages »
comp.lang.php »
need help to develop 2 language english and french
need help to develop 2 language english and french [message #172293] |
Sat, 12 February 2011 06:51 |
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 |
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
|
|
|
Goto Forum:
Current Time: Wed Dec 04 18:47:22 GMT 2024
Total time taken to generate the page: 0.02194 seconds