Jump to content

Multi languages autocomplete


Khương Itvtbadboy

Recommended Posts

Noname2.jpg.2cb8bc3fb77b10348039dee0fc1e533b.jpg

i'm Vietnamese, i can understand English but my customer is not. when i used search autocomplete, the returning value doesn't understand some different languages, example "d" is "dam" but not is "đầm". i had translated into Vietnamese via jquery feature. Thanks for JQUERYUI.COM

Noname.jpg.54043e5ed5f307dd34a8effb59ee641f.jpg

Link to comment
Share on other sites

i have an example, when customer typed "d, a or m", search engine returns "đầm". But i want only one keyword "d" with value "đầm". i had changed the length of "TERM" variable.

for(var i = 0;i<term.length;i++){

      ret += accentMap[ term.charAt(i[0]) ] || term.charAt(i[0]);

}

Noname.jpg.e04fdfd1553b8c0ca7b8455360e6935b.jpg

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...