-
Notifications
You must be signed in to change notification settings - Fork 143
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
Best practice for including line breaks in long strings? #160
Comments
Splitting per paragraph would be beneficial for translators as well. But you can use \n inside the strings, it just gets very ugly to edit them manually. |
|
Are you expecting the newlines to appear in rendered HTML? That won't work. You need to add Or just split the paragraphs in the file :) |
Yes I was hoping the newlines to appear in rendered HTML.. I'm being totally dumb here.. Can you provide a HTML / JSON / JS file showing example? I tried adding |
It is very clunky indeed, hence my persistent recommendation to use separate messages per paragraph :) |
Just wondering what you guys recommend to do? I have a lot of TOS / T&C licenses we translate down and I want to keep them as individual strings in my JSON files if poss :)
The text was updated successfully, but these errors were encountered: