I
I
Igorek19992020-10-10 14:28:17
PHP
Igorek1999, 2020-10-10 14:28:17

How is a bilingual search performed?

In some search engines, for example, when you enter adidas, it finds Adidas.
But there are more complex examples, where not letter for letter.

How do you implement a search in two languages?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
F
FanatPHP, 2020-10-10
@FanatPHP

This is a search not in two languages, but in one.
You need to first decide on your question, and only then ask it

S
sever25, 2020-10-10
@sever25

Well, the problem you're facing is one entry. It is solved, probably, in two ways. Global language change (clumsy, ugly), and here is such an input - a search in two fields of a tuple. One table where names are stored can have several fields with different languages. But this is also an ugly solution. You can normalize the whole thing)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question