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

Translating Formatted Strings #1199

Open
markhollis opened this issue Sep 5, 2024 · 0 comments
Open

Translating Formatted Strings #1199

markhollis opened this issue Sep 5, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@markhollis
Copy link

Describe the bug
When creating a translation using named formatting, i18n ally translates both the formatted string and the message.

Extension Version
i18n Ally v2.12.0

Framework/i18n package you are using
next-intl

To Reproduce
Steps to reproduce the behavior:

  1. In an en.json file, create a formatted string e.g. "required": "{field} is required"
  2. Translate to spanish and notice the field is now "required": "{campo} es obligitorio"

Device Infomation

  • OS: Windows 10
  • Version: 10.0.19045 Build 19045
  • VS Code Version: 1.92.2

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


Screenshots

@markhollis markhollis added the bug Something isn't working label Sep 5, 2024
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