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

Multi-line translation not always possible #22

Closed
clarkwinkelmann opened this issue Dec 11, 2020 · 0 comments
Closed

Multi-line translation not always possible #22

clarkwinkelmann opened this issue Dec 11, 2020 · 0 comments

Comments

@clarkwinkelmann
Copy link
Member

The code responsible for switching between text field and textarea only looks at the original translation value in that field's language. This means multiline is not always offered when it should.

This applies to the "All" field in all situations (notice height of text field vs textarea)

image

This also applies to a locale field if the text has no original value, and therefore no newline in original value (here, French language pack doesn't have any default value)

image

Linguist should also look at whether the fallback value contains newline.

Since knowing which one is the fallback isn't an easy task, an alternative could be to just look whether any original value exists for that string with a newline in any language.

Experienced on version 0.4.4 on beta 14, most likely also affects all previous versions.

As a workaround it's always possible to edit the database directly.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant