Zanata parser faliure with apostrophes, spec chars
Activity
Zoltan Hoppar 23 August 2016 at 01:36
In Transifex when you see warnings, then the translation never were pulled. Thank you the info, then I will save the line.
Former user 22 August 2016 at 21:35Edited
@Zoltan Hoppar
Thanks. The message displayed as warning not error due 'Java variables' validation.
Warning validation shouldn't stop you from saving the translation.
If the warning really troubles you, I would suggest to request project maintainer to turn 'Java variables' validation off for this project (this is a python project).
Zoltan Hoppar 22 August 2016 at 08:56
Yes, I have the URL.
Check over here: https://fedora.zanata.org/webtrans/translate?project=dnf-plugins-extras&iteration=master&localeId=hu&locale=en-US&dswid=-8200#view:doc;doc:dnf-plugins-extras;fuzzy:show
#7; Refs: ../plugins/local.py:130
Sean Flanigan 22 August 2016 at 01:30
@Zoltan Hoppar It sounds like the project has enabled the validator for Java variables in enforcing mode, even though the project is apparently not using Java variables in its strings. I would recommend asking the project maintainer to turn off the Java variables validation.
Former user 22 August 2016 at 00:23
@Zoltan Hoppar
Do you have the url for the string?
Details
Details
Assignee
Reporter
Tested Version/s
Affects versions
Priority

This parser error makes it unavailable to finish several translations when the English source contains plus apostrophe (') but the translation doesn't require. Eg. like words as can't, don't, doesn't (and etc.) and a operands in one sentence. More closely: eg. dnf-plugins-extras - line #7; Refs: ../plugins/local.py:130 witch contains this: Can't write file '{}'. Correct HU translation contains: Nem írható fájl '{}' - The parser responds -> Number of apostrophes (') in source does not match number in translation. This may lead to other warnings. Unexpected quoting of variable: {}.
Similar happens with other special chars like ",; that gets compared with the translation.
Further problem is I couldn't mark the source line as bad, or request to fix by maintainer, no function/icon that provides this option between the fuzzy, translated, or such.