Hello, thank you for the awesome module!

I'm not sure if I should write this issue here or at i18n's page, but you'll know better than me;

I've been testing i18nviews a bit, and noticed during an importation that my text area's strings aren't correctly translated. Once looking in my .po file, I've noticed that every lines of text are separated like this:

#: views:my_test:default:empty:views:area:content
msgctxt "my_test:default:empty:views:area:content"
msgid ""
"<p>a french test :D</p>\n"
"<p>Ce texte est à travailler!</p>\n"
"\n"
"test"
msgstr ""
"<p>Is that so!!</p>\r\n"
"<p>english test</p>\r\n"

So basically the string is not translated because the id isn't exactly the same from my first view to the other, perhaps because of the \n and \r that were added during the exportation?

As you may have guessed, my default language is french, I'm using the latest views / i18n / i18nviews modules

Thx for the help guys, I hope I'm clear enough

Comments

Marc-Antoine’s picture

Issue summary: View changes

trying to make my text clearer..

Marc-Antoine’s picture

Issue summary: View changes

correcting my awefull grammar :D

Marc-Antoine’s picture

After trying to change the text format from Filtered HTML to Plain text, the export/import worked. The filtered HTML and Full HTML are perhaps not exporting their entire strings, which prevents them from matching their id?

Marc-Antoine’s picture

Issue summary: View changes

Better guess of what the bug is caused by?