Loading...
 

Tikiwiki-devel (mailman list mirror)


machine translation feature for bing not working

posts: 3563

Is anyone successfully using the Machine Translation feature in Tiki 15?

On the Admin i18n page, I have selected the "Bing Translate"
implementation. I have supplied by client ID and Client Secret IDs. I've
also confirmed that application is correctly registered on the Microsoft
Azure Marketplace.

On my wiki pages, I get the "Machine Translation" options will all the
Bing-supported languages.

However, when I select a language, nothing gets translated. Tiki
displays the message:

---------
WARNING
This text was automatically translated by Google Translate from the
following page: myWikiPage
---------

But the page remains in the original language. (Notice that Tiki says
"Google Translate" even though I selected Bing as the machine
translation service.

Does anyone know if the Machine Translatin feature is actually working?

-R


--
Rick Sapir
http://ricksapir.com
Twitter: @ricksapir

Creating content — Managing information


------------------------------------------------------------------------------
___
TikiWiki-devel mailing list
TikiWiki-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel

I use it with Google and I know it is working for that - but not tried Bing
since it was developed some time ago.

Nelson

On Wed, Aug 3, 2016 at 3:15 PM, Rick Sapir <rick@ricksapir.com> wrote:

> Is anyone successfully using the Machine Translation feature in Tiki 15?
>
> On the Admin i18n page, I have selected the "Bing Translate"
> implementation. I have supplied by client ID and Client Secret IDs. I've
> also confirmed that application is correctly registered on the Microsoft
> Azure Marketplace.
>
> On my wiki pages, I get the "Machine Translation" options will all the
> Bing-supported languages.
>
> However, when I select a language, nothing gets translated. Tiki
> displays the message:
>
> ---------
> WARNING
> This text was automatically translated by Google Translate from the
> following page: myWikiPage
> ---------
>
> But the page remains in the original language. (Notice that Tiki says
> "Google Translate" even though I selected Bing as the machine
> translation service.
>
> Does anyone know if the Machine Translatin feature is actually working?
>
> -R
>
>
> --
> Rick Sapir
> http://ricksapir.com
> Twitter: @ricksapir
>
> Creating content — Managing information
>
>
>
> ------------------------------------------------------------------------------
> ___
> TikiWiki-devel mailing list
> TikiWiki-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel

posts: 3563

Thanks Nelson. I was hoping to use Bing because it offers free access
(something Google Translate does not). I'll have to dig through the
machine_translate_to_lang calls and see if I can find the problem.

-R


Rick Sapir
http://ricksapir.com
Twitter: @ricksapir

Creating content — Managing information


On 2016-08-03 15:46, Nelson Ko wrote:
> I use it with Google and I know it is working for that - but not tried
> Bing since it was developed some time ago.
>
> Nelson
>
> On Wed, Aug 3, 2016 at 3:15 PM, Rick Sapir <rick@ricksapir.com> wrote:
>
>> Is anyone successfully using the Machine Translation feature in Tiki
>> 15?
>>
>> On the Admin i18n page, I have selected the "Bing Translate"
>> implementation. I have supplied by client ID and Client Secret IDs.
>> I've
>> also confirmed that application is correctly registered on the
>> Microsoft
>> Azure Marketplace.
>>
>> On my wiki pages, I get the "Machine Translation" options will all
>> the
>> Bing-supported languages.
>>
>> However, when I select a language, nothing gets translated. Tiki
>> displays the message:
>>
>> ---------
>> WARNING
>> This text was automatically translated by Google Translate from the
>> following page: myWikiPage
>> ---------
>>
>> But the page remains in the original language. (Notice that Tiki
>> says
>> "Google Translate" even though I selected Bing as the machine
>> translation service.
>>
>> Does anyone know if the Machine Translatin feature is actually
>> working?
>>
>> -R
>>
>> --
>> Rick Sapir
>> http://ricksapir.com 1
>> Twitter: @ricksapir
>>
>> Creating content — Managing information
>>
>>
> ------------------------------------------------------------------------------
>> ___
>> TikiWiki-devel mailing list
>> TikiWiki-devel at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel 2
>
>
>
> Links:
> ------
> 1 http://ricksapir.com
> 2 https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel
>
> ------------------------------------------------------------------------------
>
> ___
> TikiWiki-devel mailing list
> TikiWiki-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel

------------------------------------------------------------------------------
___
TikiWiki-devel mailing list
TikiWiki-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel

posts: 310

Using trunk, when I use Google Translate and put
?machine_translate_to_lang=fr I get a French page - great, then I switch to
Bing and under the "This text was automatically translated by Google
Translate from the following page:" message I get "Argument
ExceptionMethod: Translate()Parameter: Message: No bearer information found
in the tokenmessage id=3444.V2_Rest.Translate.ABB8958"

The line that returns that is line 90 of
lib/core/Multilingual/MachineTranslation.php. In your case likely it is
catching an error and in line 93 (which returns whatever it was
untranslated). If you check the $e error it might give you a clue.

Unfortunately I don't have time to investigate further at this time.

On Wed, Aug 3, 2016 at 4:27 PM, Rick Sapir <rick@ricksapir.com> wrote:

> Thanks Nelson. I was hoping to use Bing because it offers free access
> (something Google Translate does not). I'll have to dig through the
> machine_translate_to_lang calls and see if I can find the problem.
>
> -R
>
> ---
> Rick Sapir
> http://ricksapir.com
> Twitter: @ricksapir
>
> Creating content — Managing information
>
>
> On 2016-08-03 15:46, Nelson Ko wrote:
> > I use it with Google and I know it is working for that - but not tried
> > Bing since it was developed some time ago.
> >
> > Nelson
> >
> > On Wed, Aug 3, 2016 at 3:15 PM, Rick Sapir <rick@ricksapir.com> wrote:
> >
> >> Is anyone successfully using the Machine Translation feature in Tiki
> >> 15?
> >>
> >> On the Admin i18n page, I have selected the "Bing Translate"
> >> implementation. I have supplied by client ID and Client Secret IDs.
> >> I've
> >> also confirmed that application is correctly registered on the
> >> Microsoft
> >> Azure Marketplace.
> >>
> >> On my wiki pages, I get the "Machine Translation" options will all
> >> the
> >> Bing-supported languages.
> >>
> >> However, when I select a language, nothing gets translated. Tiki
> >> displays the message:
> >>
> >> ---------
> >> WARNING
> >> This text was automatically translated by Google Translate from the
> >> following page: myWikiPage
> >> ---------
> >>
> >> But the page remains in the original language. (Notice that Tiki
> >> says
> >> "Google Translate" even though I selected Bing as the machine
> >> translation service.
> >>
> >> Does anyone know if the Machine Translatin feature is actually
> >> working?
> >>
> >> -R
> >>
> >> --
> >> Rick Sapir
> >> http://ricksapir.com 1
> >> Twitter: @ricksapir
> >>
> >> Creating content — Managing information
> >>
> >>
> >
> ------------------------------------------------------------------------------
> >> ___
> >> TikiWiki-devel mailing list
> >> TikiWiki-devel at lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel 2
> >
> >
> >
> > Links:
> > ------
> > 1 http://ricksapir.com
> > 2 https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel
> >
> >
> ------------------------------------------------------------------------------
> >
> > ___
> > TikiWiki-devel mailing list
> > TikiWiki-devel at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel
>
>
> ------------------------------------------------------------------------------
> ___
> TikiWiki-devel mailing list
> TikiWiki-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel


Why Register?

Register at tiki.org and you'll be able to use the account at any *.tiki.org site, thanks to the InterTiki feature. A valid email address is required to receive site notifications and occasional newsletters. You can opt out of these items at any time.