Dim temp As Translator
            Using sr As IO.StreamReader = New IO.StreamReader("text.dll")
                For i As Integer = 0 To 15
                    trans(i).english = sr.ReadLine
                    trans(i).arabic = sr.ReadLine
                Next
                For i As Integer = 1 To 15
                    For j As Integer = 1 To 16 - i
                        If trans(j - 1).english > trans(j).english Then
                            temp = trans(j - 1)
                            trans(j - 1) = trans(j)
                            trans(j) = temp

                        End If
                    Next
                Next
                Do While (True)
                    Dim line As String = sr.ReadLine
                    If line Is Nothing Then
                        Exit Do
                    End If
                    Dim words As String() = line.Split("|")
                    Dim word As String
                    For Each word In words
                        If word = TextBox1.Text Then
                            TextBox2.Text = words(+1)
                        End If
                    Next
                Loop
            End Using

only work word :( not translator sentence

Of course it only works on individual words. What did you expect?

I put these words but used only single words, not sentences .. I want to use it for sentences
Such as
الذهاب إلى المدرسة = go to school

You got to have a translator that knows the gramar of both languages(e.g. Arab and English) That is very, very hard to do.

why ? i have 50,000 words translate

If it is only a matter of dictionary it is easy : الذهاب = go.
What about goes, going, went? All forms of go you won't find in a dictionary.

Not to mention idioms. How do you translate "have a ball" into another language and have it mean the same thing? There's a big difference between knowing the words, knowing the language and knowing the culture. There's an old Dutch (according to my dad) expression, "he landed with his a$$ in the butter". I would guess this is untranslatable (at least so that it makes sense) by any software.

commented: LOL :) +15

We still use "he fell with his a$$ in the butter". Although not so often.
It is said of a person who married a rich, beautiful wife; has a well paid job and just won the lottery etc. Must indeed sound strange if you try to translate that in Arab or any other language.

ow hmm now i can't make ?
one country need the translate :(

Reverend Jim $ ddanbe it's ok i want to do it because i want it for another lang !

Even google translate isn't always correct? but thebest you can find I guess.
Translating is soooo difficult.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.