sp-dev-fx-extensions icon indicating copy to clipboard operation
sp-dev-fx-extensions copied to clipboard

react-application-machine-translations -

Open Mark-Shenouda-git opened this issue 2 years ago • 2 comments

Sample

react-application-machine-translations

Author(s)

@mromiszewski @agtenr

What happened?

The extension is no longer working when the page is in edit mode. It works we the page is in display mode.

I am assuming that it cannot pickup the the text controls. Using the developer tool , I can see that the request is text is empty as shown below

[ { "detectedLanguage": { "language": "en", "score": 0.0 }, "translations": [ { "text": "", "to": "de" } ] } ]

Steps to reproduce

  1. Install the sppkg and config the translation service
  2. Create a page and its equivalent translation
  3. edit the page, Select the target language from the extension dropdown ==> nothing happens
  4. Open the page in display mode Select the target language from the extension dropdown ==> Page is translated

Expected behavior

I am expecting the the translator works in the edit mode as well as the display mode

Target SharePoint environment

SharePoint Online

Developer environment

None

Browsers

  • [ ] Internet Explorer
  • [X] Microsoft Edge
  • [X] Google Chrome
  • [X] FireFox
  • [ ] Safari
  • [ ] mobile (iOS/iPadOS)
  • [ ] mobile (Android)
  • [ ] not applicable
  • [ ] other (enter in the "Additional environment details" area below)

Node.js version

v14

Additional environment details

No response

Mark-Shenouda-git avatar Oct 24 '23 00:10 Mark-Shenouda-git

Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.

ghost avatar Oct 24 '23 00:10 ghost

@agtenr @mromiszewski Were you able to reproduce the issue ?

Mark-Shenouda-git avatar Nov 04 '23 23:11 Mark-Shenouda-git