Zanata-cli doesn't detect xliff file as source when push
Description
Environment
windows
Attachments
1
Activity
Show:
Details
Details
Assignee
Unassigned
UnassignedReporter

Tested Version/s
None
Components
Affects versions
Priority

More fields
Time tracking
More fields
Time trackingCreated 20 December 2018 at 19:44
Updated 20 December 2018 at 19:47
I'm trying to pussh a xliff file (version 1.2) to translate.zanata.org.
I'm getting always "No source documents found.".
I've tried adding rules for the extensions, add locales, nothing is working. Source directory name is ok too
This is the log:
<code>
zanata-cli push
[INFO] Loading project config from zanata.xml
[INFO] Loading user config from E:\users\cifuentes\.config\zanata.ini
[INFO] client API version: 4.6.2, server API version: 4.6.2
[INFO] Server: https://translate.zanata.org/
[INFO] Project: ce5
[INFO] Version: 5-0.-1_xliff
[INFO] Username: cifuentee
[INFO] Project type: xliff
[INFO] Source language: en-US
[INFO] Copy previous translations: false
[WARN] As of Zanata Client 3.8.0, copyTrans is disabled by default.
[INFO] Merge type: AUTO
[INFO] Enable modules: false
[INFO] Include patterns:
[INFO] Exclude patterns:
[INFO] Case sensitive: true
[INFO] Default excludes: true
[INFO] Exclude locale filenames: true
[INFO] Pushing source documents only
[INFO] Current directory: E:\c5
[INFO] Source directory (originals): source
[INFO] Validate option: CONTENT
[INFO] No source documents found.
[INFO] no documents in module: ; nothing to do
</code>
I attached source file
File is correct since I can edit using other xliff editors.