Welcome Guest ( Log In | Register )

Outline · [ Standard ] · Linear+

PHP PHP language selector (translation content problem

views
     
TSfirdaruddin
post Mar 18 2017, 10:03 PM, updated 8y ago

Getting Started
**
Junior Member
76 posts

Joined: Nov 2005
From: KL


Hi,

I have a problem with language selector. It is regarding of what are supposed to be translate or not.

I already try a few method like google translate plugin etc. but it's going to translate everything.

eg.

user select a specific language from the selections (listed in new page or drop down menu). then the browser will store the selection temporarily unless change manually. the default language was english.

when i'm using google plugin, it work perfect on the translation BUT it also translate everything that the user key in @ input eg. text box, saved data.


question.

how to set so only what's appeared will be translate but not the user's key in data?
eg. like facebook

will you master help me with this problem?

thanks in advanced.

This post has been edited by firdaruddin: Mar 18 2017, 10:05 PM
chriss2010
post Mar 19 2017, 02:40 AM

Getting Started
**
Junior Member
71 posts

Joined: Sep 2009
QUOTE(firdaruddin @ Mar 18 2017, 10:03 PM)
how to set so only what's appeared will be translate but not the user's key in data?
eg. like facebook
*
add class="notranslate"

 

Change to:
| Lo-Fi Version
0.0123sec    0.43    5 queries    GZIP Disabled
Time is now: 28th March 2024 - 09:43 PM