matecat / MateCat-Filters

Convert any file to XLIFF and back with perfectly preserved formatting! Super easy API, plenty of supported formats and advanced segmentation.
http://filters.matecat.com
GNU Lesser General Public License v3.0
45 stars 32 forks source link

source/target language not correctly tagged in original2xliff result #25

Closed Junqing closed 6 years ago

Junqing commented 7 years ago

It seems the logs are showing that the language combination are correctly received:

[CONVERSION REQUEST] xxxx.xlsx: en-US to da-DK [PROJECT CREATED] Norwegian Translations.xlsx saved in /tmp/2092361387035352077 Using default segmentation Input: /tmp/2092361387035352077/xxxxxlsx [CONVERSION FINISHED] xxxx.xlsx: en-US to da-DK

However in the xliff file the source and target tags are incorrectly tagged (always) as source="en" and target="fr"

Any ideas?

giusilvano commented 7 years ago

Unfortunately, this was a bug in the 1.2.2 version, but we already fixed it in the 1.2.3. Can you update your code and confirm me that the bug has gone?

giusilvano commented 6 years ago

Since the bug should be solved I close the issue. Feel free to re-open it or add any further info you think useful. Thanks!