[OpenStack-I18n] operations guide import fails for id language due to invalid character
Ian Y. Choi
ianyrchoi at gmail.com
Tue Jul 23 22:55:52 UTC 2019
Andreas, Thank you for sharing the error.
I found that there were one backspace character on your last translation
contribution on operations-guide and have just removed this character.
Thanks a lot for yor translation contribution, and please refer in
future not to include such a backspace character :)
The following is to share how I found the cause of the error Andreas
mentioned with I18n members:
1. Seeing the log file, I found that the error were related with not
supported character in Zanata like  - the error log were generated
retriving Indonesian po files but I couldn't find not supported
characters on Indonesian po files.
2. Manually executing zanata-cli command on local environment with "-X"
option, with file redirction, like
: $ zanata-cli -B -e pull -X 1> log.txt 2>&1
3. By seeing the log file, I finally figured out that the error were
generated after executing Zanata REST API for Japanese translation
resource, not Indonesian resource.
4. I manually downloaded the PO file from Zanata web user interface and
filtered out \x08 character like the following command:
: $ grep --color='auto' -P -n '\x08' doc.po
With many thanks,
Andreas Jaeger wrote on 7/22/2019 9:34 PM:
> There's an error because a character 08 is in the translated text, see:
> Could anybody look into this and delete the offending string, please?
More information about the OpenStack-I18n