-
Notifications
You must be signed in to change notification settings - Fork 266
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
Google Translate removes newlines #566
Comments
davidwessman
added a commit
that referenced
this issue
May 9, 2024
- Line breaks are not kept when translating html content via Google Translate - Therefore we transform `\n` into a placeholder and then back after translating - Fixes #566
glebm
pushed a commit
that referenced
this issue
May 10, 2024
- Line breaks are not kept when translating html content via Google Translate - Therefore we transform `\n` into a placeholder and then back after translating - Fixes #566
@otagi This should help with the errors you had while translating |
Fantastic! Thanks a lot. I'll try it ASAP. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm using the pipe-operator, and the multi-lines are also concatenated into a single one (without space:
…</p><p>…
) on the target locale when I run e.g.i18n-tasks translate-missing
.[Edited] Example:
# Translate with Google i18n-tasks translate-missing -l fr
(with i18n-tasks 1.0.12)
Originally posted by @otagi in #383 (comment)
The text was updated successfully, but these errors were encountered: