Menu
Feedback
Start here
Tutorials
Developer portal

Known Issues
Support Rules
Troubleshooting

Frequently Asked Questions
Announcements
Known issues
complementName in productContext is not translated
complementName in productContext is not translated
ID: 1095907
Backlog
Published on 9/10/2024
Last update on 9/10/2024

Summary

Since the Catalog Search Documents Translation API does not translate the field for short description called complementName the product context shows the original text in Internationalized stores.

Simulation

  • Translate a short description (complementName) in an Internationalized store. It can be either through Messages or Catalog Translation app.

  • Check the productContext for that product in a different language using React Dev Tools or querying the productContext.

  • You'll see that its value is not translated.

  • You can check that the catalog API does not bring this value translated: curl --location 'http://api.vtexinternal.com/api/search-documents/documents/translations/?an=&decompress=true' \

Workaround

None VTEX native app uses this field. But if your are using in a Custom app you can create a new SKU or Product specification to use as the complementName or query the translation in your custom app.

Contributors
2
Photo of the contributor
Photo of the contributor
+ 2 contributors
Contributors
2
Photo of the contributor
Photo of the contributor
+ 2 contributors
On this page
Still got questions?
Ask the community
Find solutions and share ideas in the VTEX community.
Join our community
Request support from VTEX
For personalized assistance, contact our experts.
Open a support ticket
GithubDeveloper portalCommunityFeedback