• Tushar

    (@tushar4monto)


    Hello

    I have one issue with saving a term slug. When I try to save term from taxonomy page on admin with some different language other than English(i.e. Hindi language and term is ‘?????’), then is storing the term correctly but it adds special characters(https://prntscr.com/m0wd4g) for “?????” like “%e0%a4%ac%e0%a5%8d%e0%a4%af%e0%a5%82%e0%a4%95” (if I keep the empty slug field at the time of entering slug see – https://prntscr.com/m0wcx3).

    Because of this, I am getting trouble in site search functionality(https://prntscr.com/m0wdm4).

    Waiting for your reply.

Viewing 1 replies (of 1 total)
  • Moderator bcworkz

    (@bcworkz)

    Non-latin slugs are problematic on a number of levels, which is why such characters are URL encoded, resulting in the %xx format you see. You cannot have Hindi slugs. They need to be either URL encoded or transliterated to Latin characters. It seems to me that your site search is flawed. Is the URL encoded string that shows in the results the only real problem you need to resolve? The code that outputs the string should be running the string through urldecode() so it appears correctly.

    I suggest you take up the issue with whoever developed your search functionality.

Viewing 1 replies (of 1 total)
  • The topic ‘save term data with other language like hindi’ is closed to new replies.