Closed esmeetewinkel closed 7 months ago
Currently speaking to Crowdin support, since the issue of replacing \r
(in .pot) by \\r
(in .po) lies with Crowdin
Resolved this with Crowdin by adding post-processing to replace \\r
by \r
in the .po file
Describe the bug Some users seem to introduce
\r
when they work on content (as a type of line break). This comes through in our content sync as:When uploading this string to Crowdin for translation, Crowdin interprets the \n but not the \r:
Syncing the translation back into the app from Crowdin, we get:
which no longer matches the original string: every
\r
has now become\\r
. Hence, in the app the translation is missing:(use case from FaciNK https://github.com/IDEMSInternational/plh-facilitator-app-my-content/pull/64/)
Desired behaviour To me it would make sense if, from the start (parser), every
\r
is replaced by\n
- this would fix all issues that occur later.