Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

react-application-machine-translations - #991

Open
3 of 9 tasks
Mark-Shenouda-git opened this issue Oct 24, 2023 · 2 comments
Open
3 of 9 tasks

react-application-machine-translations - #991

Mark-Shenouda-git opened this issue Oct 24, 2023 · 2 comments
Labels
sample: react-application-machine-translations type:bug-suspected Suspected bug (not working as designed/expected). See type:bug-confirmed for confirmed bugs

Comments

@Mark-Shenouda-git
Copy link

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
  • Microsoft Edge
  • Google Chrome
  • 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 Mark-Shenouda-git added Needs: Triage 🔍 type:bug-suspected Suspected bug (not working as designed/expected). See type:bug-confirmed for confirmed bugs labels Oct 24, 2023
@ghost
Copy link

ghost commented Oct 24, 2023

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

@Mark-Shenouda-git
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
sample: react-application-machine-translations type:bug-suspected Suspected bug (not working as designed/expected). See type:bug-confirmed for confirmed bugs
Projects
None yet
Development

No branches or pull requests

2 participants