Results 1 to 9 of 9

Thread: need help with VB word translator, plz

  1. #1

    Thread Starter
    New Member
    Join Date
    Feb 2002
    Posts
    13

    need help with VB word translator, plz

    hey im doing a french project and basically what i have is 2 text boxes and 2 command buttons, if you type in the english word in the top and hit the button itll show in the french textbox, but i also want it visa versa. I would like a way where i can do this so I dont have to make 2 for each word, or have a million if statements, is there a sort of database or array I could do that would work? please help, thanks.
    Msgbox "MUAHAHA"

  2. #2
    PowerPoster
    Join Date
    Aug 2002
    Location
    NY, NY
    Posts
    2,139
    Multilanguage support is usually (but not necessary) implemented by using Resource file. If you have a copy VB6 then Resource Editor comes as AddIn. If you don't have it then you may use either local database including let's say 1 table with 2 fields (E/F) or as an alternative to DB you may use regular ASCII file(s).
    Roy

  3. #3

    Thread Starter
    New Member
    Join Date
    Feb 2002
    Posts
    13
    how do i go about doing this ? code wise
    Msgbox "MUAHAHA"

  4. #4
    Need-a-life Member Mc Brain's Avatar
    Join Date
    Apr 2000
    Location
    Buenos Aires, Argentina
    Posts
    6,808
    Originally posted by IROY55
    Multilanguage support is usually (but not necessary) implemented by using Resource file. If you have a copy VB6 then Resource Editor comes as AddIn. If you don't have it then you may use either local database including let's say 1 table with 2 fields (E/F) or as an alternative to DB you may use regular ASCII file(s).
    I think you didn't understand him correctly. He doesn't want to translate the UI, he wants to translate whatever the final user writes in the textbox into another language.
    Emiliano F. Martín


    If a post has helped you then please Rate it! (and give the user points he/she deserves by clicking on the image).
    Encourage the person who helped you to keep doing it, and give him the points he deserves.


    MP3 Organizer: Freeware to logically organize all your MP3s.

  5. #5
    Need-a-life Member Mc Brain's Avatar
    Join Date
    Apr 2000
    Location
    Buenos Aires, Argentina
    Posts
    6,808
    Originally posted by IROY55
    ... or as an alternative to DB you may use regular ASCII file(s).
    An alternative... could be the Translator I've already programmed.
    Emiliano F. Martín


    If a post has helped you then please Rate it! (and give the user points he/she deserves by clicking on the image).
    Encourage the person who helped you to keep doing it, and give him the points he deserves.


    MP3 Organizer: Freeware to logically organize all your MP3s.

  6. #6
    PowerPoster
    Join Date
    Aug 2002
    Location
    NY, NY
    Posts
    2,139
    Emiliano,
    I did understand him correctly: multilanguage support doesn't necessary means GUI but anything at all that requires different languages support in your program or interface. That is why Resource files are BY FAR the best way to acomplish this.
    Roy

  7. #7
    The picture isn't missing BuggyProgrammer's Avatar
    Join Date
    Oct 2000
    Location
    Vancouver, Canada
    Posts
    5,217
    Originally posted by IROY55
    Emiliano,
    I did understand him correctly: multilanguage support doesn't necessary means GUI but anything at all that requires different languages support in your program or interface. That is why Resource files are BY FAR the best way to acomplish this.
    so you think that stuffing a million English to French translations into the EXE is good? well alright. if you think so
    Remember, if someone's post was not helpful, you can always rate their post negatively .

  8. #8
    Need-a-life Member Mc Brain's Avatar
    Join Date
    Apr 2000
    Location
    Buenos Aires, Argentina
    Posts
    6,808
    IMHO, that's the worst way to accomplish that. If you want to update your "dictionary" you need to patch the EXE.... or just modify the resource file, re-compile the EXE and re-distribute it. BTW, I don't think this would be a small EXE. I guess the best way would be databases (or text files, or something like that) as he recommened at first.
    Emiliano F. Martín


    If a post has helped you then please Rate it! (and give the user points he/she deserves by clicking on the image).
    Encourage the person who helped you to keep doing it, and give him the points he deserves.


    MP3 Organizer: Freeware to logically organize all your MP3s.

  9. #9
    PowerPoster
    Join Date
    Aug 2002
    Location
    NY, NY
    Posts
    2,139
    Size is a drawback of any multilanguage stuff. Although, I wouldn't want to go through any debate on this topic as it is a very controversial one. I just gave my recommendations - that's all. For your benefits visit Michael Kaplan's site http://www.trigeminal.com/ and suit for yourself.
    Roy

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width