-
Notifications
You must be signed in to change notification settings - Fork 98
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
[manager-components]: Unable to translate a link with <Trans> component #15421
Labels
Comments
As I suggested I would try Translation file
In your component
This way the translation team will be able to move the link depending on the language, the downside is that it is hard for them to have the full context of the translation since the label of the link is separated from the "main" text |
darsene
added a commit
that referenced
this issue
Feb 25, 2025
fixes: gh-15421 Signed-off-by: David Arsène <[email protected]>
1 task
Fixes in #15660 |
1 task
darsene
added a commit
that referenced
this issue
Feb 26, 2025
fixes: gh-15421 Signed-off-by: David Arsène <[email protected]>
darsene
added a commit
that referenced
this issue
Mar 6, 2025
fixes: #gh-15421 Signed-off-by: David Arsène <[email protected]>
darsene
added a commit
that referenced
this issue
Mar 6, 2025
fixes: #gh-15421 Signed-off-by: David Arsène <[email protected]>
darsene
added a commit
that referenced
this issue
Mar 6, 2025
fixes: #gh-15421 Signed-off-by: David Arsène <[email protected]>
darsene
added a commit
that referenced
this issue
Mar 6, 2025
fixes: #gh-15421 Signed-off-by: David Arsène <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
On which entity, you would like to report a bug?
packages/manager-react-components/src/components/order
Description
According to https://react.i18next.com/latest/trans-component, a link label can be set by using trans component.
However, the OdsLink component (ODS 18) doesn't accept the label value as children prop and the translation tool doesn't allow to translate prop of a component (#15414, see detail in CMT-21344).
Therefore, which workaround can be used ?
Steps to reproduce
#15414
Browser
No response
Operating System
Additional Information
No response
The text was updated successfully, but these errors were encountered: