0
   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

Edited by danyalempire

3
Contributors
12
Replies
30
Views
3 Years
Discussion Span
Last Post by ddanbe
Featured Replies
  • 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$$ … Read More

0

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

0

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.

0

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.

1

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.

Edited by Reverend Jim

Votes + Comments
LOL :)
0

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.

Edited by ddanbe: addition

0

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

0

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

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.