Microsoft and Google MT plugins in Linux ناشر الموضوع: Ali Bayraktar
|
Hi All, Can anybody please simply explain in Linux in which file what to write for enabling Microsoft and Google MT plugins in the latest version? I have read what written in http://www.proz.com/forum/omegat_support/241322-linux_omt_microsoft_translator_howto_needed.html Didier Briel wrote: Oleksandr Myslivets wrote: Problem lies in enabling Microsoft Translator feature. I can check this option in Machine Translation menu, I have registered in Azure marketpalce and got Primary Account Key and Customer ID required for MS translator API working. But I have no idea where should I input these data in OmT. Or maybe I have to launch OmT using a special script, but I don't know its content. That's what I need to know. Everything needed to launch OmegaT with Google Translate applies to Microsoft Translator. The only difference are the parameters. For Google, it's: -Dgoogle.api.key=123456789abcdef For Microsoft, it's -Dmicrosoft.api.client_id=yourkey -Dmicrosoft.api.client_secret=123456789abcdef So, basically, you can launch OmegaT with java -jar -Dmicrosoft.api.client_id=yourkey -Dmicrosoft.api.client_secret=123456789abcdef OmegaT.jar (everything on the same line) Didier I tried them both in OmegaT.bat and Omegat.sh files and nothing happens (I couldn't succeed) Any help would be appreciated. Thanks in advance, M. Ali | | |
Or maybe I have to launch OmT using a special script, but I don't know its content. Everything needed to launch OmegaT with Google Translate applies to Microsoft Translator. The only difference are the parameters. For Google, it's: -Dgoogle.api.key=123456789abcdef For Microsoft, it's -Dmicrosoft.api.client_id=yourkey -Dmicrosoft.api.client_secret=123456789abcdef
Open and edit INI file: OmegaT.I4J.ini Milan | | | Ali Bayraktar تركيا عضو (2007) أنجليزي إلى تركي + ... بادئ الموضوع
Milan Condak wrote: Or maybe I have to launch OmT using a special script, but I don't know its content. Everything needed to launch OmegaT with Google Translate applies to Microsoft Translator. The only difference are the parameters. For Google, it's: -Dgoogle.api.key=123456789abcdef For Microsoft, it's -Dmicrosoft.api.client_id=yourkey -Dmicrosoft.api.client_secret=123456789abcdef Open and edit INI file: OmegaT.I4J.ini Milan In Linux? Please read my post. | | | Didier Briel فرنسا Local time: 14:03 أنجليزي إلى فرنسي + ... You must change the parameters in your launcher | Apr 6, 2013 |
Ali Bayraktar wrote: Can anybody please simply explain in Linux in which file what to write for enabling Microsoft and Google MT plugins in the latest version? I have read what written in http://www.proz.com/forum/omegat_support/241322-linux_omt_microsoft_translator_howto_needed.html Didier Briel wrote: Oleksandr Myslivets wrote: Problem lies in enabling Microsoft Translator feature. I can check this option in Machine Translation menu, I have registered in Azure marketpalce and got Primary Account Key and Customer ID required for MS translator API working. But I have no idea where should I input these data in OmT. Or maybe I have to launch OmT using a special script, but I don't know its content. That's what I need to know. Everything needed to launch OmegaT with Google Translate applies to Microsoft Translator. The only difference are the parameters. For Google, it's: -Dgoogle.api.key=123456789abcdef For Microsoft, it's -Dmicrosoft.api.client_id=yourkey -Dmicrosoft.api.client_secret=123456789abcdef So, basically, you can launch OmegaT with java -jar -Dmicrosoft.api.client_id=yourkey -Dmicrosoft.api.client_secret=123456789abcdef OmegaT.jar (everything on the same line) I tried them both in OmegaT.bat and Omegat.sh files and nothing happens (I couldn't succeed) OmegaT.bat is for Windows, I don't suppose you would use it under Linux. I don't know where you got Omegat.sh, but that's not the name of the launcher provided by OmegaT. The file OmegaT provides in the Linux or generic distribution (perhaps you used that, since you have "OmegaT.bat") is called "OmegaT" (without any extension). If that's what you use to launch OmegaT, that's what you need to edit. Basically, I suppose you double-click on something to launch OmegaT, or that you type something on the command line (e.g., ./OmegaT). This is that "something" that you must edit. Didier | |
|
|
Ali Bayraktar تركيا عضو (2007) أنجليزي إلى تركي + ... بادئ الموضوع
Didier Briel wrote: Ali Bayraktar wrote: Can anybody please simply explain in Linux in which file what to write for enabling Microsoft and Google MT plugins in the latest version? I have read what written in http://www.proz.com/forum/omegat_support/241322-linux_omt_microsoft_translator_howto_needed.html Didier Briel wrote: Oleksandr Myslivets wrote: Problem lies in enabling Microsoft Translator feature. I can check this option in Machine Translation menu, I have registered in Azure marketpalce and got Primary Account Key and Customer ID required for MS translator API working. But I have no idea where should I input these data in OmT. Or maybe I have to launch OmT using a special script, but I don't know its content. That's what I need to know. Everything needed to launch OmegaT with Google Translate applies to Microsoft Translator. The only difference are the parameters. For Google, it's: -Dgoogle.api.key=123456789abcdef For Microsoft, it's -Dmicrosoft.api.client_id=yourkey -Dmicrosoft.api.client_secret=123456789abcdef So, basically, you can launch OmegaT with java -jar -Dmicrosoft.api.client_id=yourkey -Dmicrosoft.api.client_secret=123456789abcdef OmegaT.jar (everything on the same line) I tried them both in OmegaT.bat and Omegat.sh files and nothing happens (I couldn't succeed) OmegaT.bat is for Windows, I don't suppose you would use it under Linux. I don't know where you got Omegat.sh, but that's not the name of the launcher provided by OmegaT. The file OmegaT provides in the Linux or generic distribution (perhaps you used that, since you have "OmegaT.bat") is called "OmegaT" (without any extension). If that's what you use to launch OmegaT, that's what you need to edit. Basically, I suppose you double-click on something to launch OmegaT, or that you type something on the command line (e.g., ./OmegaT). This is that "something" that you must edit. Didier Thanks Didler, I would be most grateful if you provide info about the content (I can implement methods for editing, opening, deleting and migrating the files). The content is much more important for me (commands and paths) I used the extension .sh for showing the type of the file launching OmegaT. It is a shell script after all. And the letter .sh means that (if you right click on the file launching Omegat, you will see it) So the file I called OmegaT.sh and the file you called OmegaT without extension are the same files. I already tried all possible instructions in it. Its content looks like as follows: originally it comes: #!/bin/bash # readlink follows any symbolic links to get the real file REALOMEGATPATH=`dirname "$(readlink -nf $0)"` "${REALOMEGATPATH}/jre/bin/java" -jar -Xmx512M "${REALOMEGATPATH}/OmegaT.jar" $*
After my implementation it looks: #!/bin/bash # readlink follows any symbolic links to get the real file REALOMEGATPATH=`dirname "$(readlink -nf $0)"` "${REALOMEGATPATH}/jre/bin/java" -jar -Xmx512M -Dmicrosoft.api.client_id=My Client ID -Dmicrosoft.api.client_secret=My Client Secret "${REALOMEGATPATH}/OmegaT.jar" $*
I thik with this code it should work. But doesnt. Thanks in advance, M. Ali
[Edited at 2013-04-06 18:33 GMT] | | | Didier Briel فرنسا Local time: 14:03 أنجليزي إلى فرنسي + ... Try the OmegaT support group | Apr 7, 2013 |
Ali Bayraktar wrote: Its content looks like as follows: originally it comes: #!/bin/bash # readlink follows any symbolic links to get the real file REALOMEGATPATH=`dirname "$(readlink -nf $0)"` "${REALOMEGATPATH}/jre/bin/java" -jar -Xmx512M "${REALOMEGATPATH}/OmegaT.jar" $* After my implementation it looks: #!/bin/bash # readlink follows any symbolic links to get the real file REALOMEGATPATH=`dirname "$(readlink -nf $0)"` "${REALOMEGATPATH}/jre/bin/java" -jar -Xmx512M -Dmicrosoft.api.client_id=My Client ID -Dmicrosoft.api.client_secret=My Client Secret "${REALOMEGATPATH}/OmegaT.jar" $* I thik with this code it should work. But doesnt. If you set everything correctly, it should work. So, either what you use for "My Client ID" and "My Client Secret" is not correct, or there's something else I cannot guess. I recommend asking for support in the Yahoo support group: http://tech.groups.yahoo.com/group/OmegaT/ Didier | | | Ali Bayraktar تركيا عضو (2007) أنجليزي إلى تركي + ... بادئ الموضوع
Didier Briel wrote: Ali Bayraktar wrote: Its content looks like as follows: originally it comes: #!/bin/bash # readlink follows any symbolic links to get the real file REALOMEGATPATH=`dirname "$(readlink -nf $0)"` "${REALOMEGATPATH}/jre/bin/java" -jar -Xmx512M "${REALOMEGATPATH}/OmegaT.jar" $* After my implementation it looks: #!/bin/bash # readlink follows any symbolic links to get the real file REALOMEGATPATH=`dirname "$(readlink -nf $0)"` "${REALOMEGATPATH}/jre/bin/java" -jar -Xmx512M -Dmicrosoft.api.client_id=My Client ID -Dmicrosoft.api.client_secret=My Client Secret "${REALOMEGATPATH}/OmegaT.jar" $* I thik with this code it should work. But doesnt. If you set everything correctly, it should work. So, either what you use for "My Client ID" and "My Client Secret" is not correct, or there's something else I cannot guess. I recommend asking for support in the Yahoo support group: http://tech.groups.yahoo.com/group/OmegaT/ Didier Thanks for instructions. | | | لم يتم تعيين مشرف خاص بهذا المنتدى للإبلاغ عن انتهاكات لقواعد الموقع أو الحصول على مساعدة، يرجى الاتصال بـ العاملين في الموقع » Microsoft and Google MT plugins in Linux Trados Business Manager Lite | Create customer quotes and invoices from within Trados Studio
Trados Business Manager Lite helps to simplify and speed up some of the daily tasks, such as invoicing and reporting, associated with running your freelance translation business.
More info » |
| Wordfast Pro | Translation Memory Software for Any Platform
Exclusive discount for ProZ.com users!
Save over 13% when purchasing Wordfast Pro through ProZ.com. Wordfast is the world's #1 provider of platform-independent Translation Memory software. Consistently ranked the most user-friendly and highest value
Buy now! » |
|
| | | | X Sign in to your ProZ.com account... | | | | | |