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

Phrases including ampersand (&), when translated, stop before the & #1100

Open
tquid opened this issue Mar 4, 2024 · 1 comment
Open

Phrases including ampersand (&), when translated, stop before the & #1100

tquid opened this issue Mar 4, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@tquid
Copy link

tquid commented Mar 4, 2024

Describe the bug
When translating phrases that include an ampersand (&), translated string stops before the ampersand.

Extension Version
i18n Ally v2.12.0

Framework/i18n package you are using
react-i18next

To Reproduce
Steps to reproduce the behavior:

  1. Create a new translation key
  2. Hover over key, click the pencil icon
  3. Enter the original language phrase, including an ampersand
  4. Hover the key to get the globe icon to auto-translate and click it

This happens also when using the "talk bubble" that brings up a full editor pane

Device Infomation

  • OS: MacOS
  • Version: 14.2.1
  • VS Code Version: 1.87.0

Extension Log
Go to View -> Output -> i18n Ally, and paste the content below. You should mask any sensitive information

🌍 Translating "create.routes.create.Intel.payroll.docs-individual" (en->fr-CA)
💾 Writing /Users/[REDACTED]/web/src/locales/fr-CA.json
✅ Loading finished

🔄 File changed (change) fr-CA.json
	📑 Loading (fr-CA) fr-CA.json [1709585122727.5986]
✅ Loading finished

Screenshots
Screenshot 2024-03-04 at 12 47 18

@tquid tquid added the bug Something isn't working label Mar 4, 2024
@tquid
Copy link
Author

tquid commented Mar 4, 2024

This is using the google translation engine in my settings, by the way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

No branches or pull requests

1 participant