You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The default language for Sellers in our Marketplace is Armenian. The default language for the Buyers is English. We have enabled Arcadier's Google Translate API feature and the item description is being translated buy Google. However the paragraph marks are missing in the translated version. That makes the description messy and unappealing for the buyers.
To Reproduce
Steps to reproduce the behavior:
Login as a vendor and add an item with a language set other than English. Make sure the item description has paragraph marks in it.
View the item description as a buyer with language set to English.
You will see the missing formatting. (Check the attached screenshots)
Expected behavior
The paragraph marks in the original text should be present in the translated version.
Screenshots
Description in original language:
Description in English after Google Translate:
Desktop (please complete the following information):
OS: [e.g. iOS] - Windows 10
Browser [e.g. chrome, safari] - Chrome and Microsoft Edge
Version [e.g. 22] - Version 99.0.4844.82 (Chrome), Version 99.0.1150.55 (Microsoft Edge)
Additional context
The Google Translate API translate endpoint has a format parameter that needs to be set to "html" to preserve the source formatting. Check if this will help to preserve the formatting.
req.form({
"q": "բարև ձեզ հաջողություն",
"format": "html",
"target": "hy",
"source": "en"
});
The text was updated successfully, but these errors were encountered:
Describe the bug
The default language for Sellers in our Marketplace is Armenian. The default language for the Buyers is English. We have enabled Arcadier's Google Translate API feature and the item description is being translated buy Google. However the paragraph marks are missing in the translated version. That makes the description messy and unappealing for the buyers.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The paragraph marks in the original text should be present in the translated version.
Screenshots
Description in original language:
Description in English after Google Translate:
Desktop (please complete the following information):
Additional context
The Google Translate API translate endpoint has a format parameter that needs to be set to "html" to preserve the source formatting. Check if this will help to preserve the formatting.
req.form({
"q": "բարև ձեզ հաջողություն",
"format": "html",
"target": "hy",
"source": "en"
});
The text was updated successfully, but these errors were encountered: