Can i write translation function

Hi all!

I need help. I need to translate text in data from english to other language. After editing file i need icon, that translate every words in file to anoher language. How can I do this?

 thnx a lot!!!! 

Parents
  • hordan:
    I need to translate text from English to other language.

    Language Dictionary

    The MicroStation VBA part of your problem is simple:

    1. Create a Dictionary object
    2. Scan each DGN model for TextElements
    3. For each TextElement:
      • Replace its text string by dictionary lookup
      • Rewrite the element

    The non-MicroStation part of your problem is difficult: writing a Dictionary class. I suggest that you scour the web for ideas. One problem you will face is that the meaning of words is domain-sensitive: a word may be used to mean one thing by one profession, but mean something else when used by another profession.

    Regards, Jon Summers
    LA Solutions

     
    Regards, Jon Summers
    LA Solutions

Reply
  • hordan:
    I need to translate text from English to other language.

    Language Dictionary

    The MicroStation VBA part of your problem is simple:

    1. Create a Dictionary object
    2. Scan each DGN model for TextElements
    3. For each TextElement:
      • Replace its text string by dictionary lookup
      • Rewrite the element

    The non-MicroStation part of your problem is difficult: writing a Dictionary class. I suggest that you scour the web for ideas. One problem you will face is that the meaning of words is domain-sensitive: a word may be used to mean one thing by one profession, but mean something else when used by another profession.

    Regards, Jon Summers
    LA Solutions

     
    Regards, Jon Summers
    LA Solutions

Children
No Data