# Error Importing TMX file

**URL:** <https://community.transifex.com/t/error-importing-tmx-file/83>\
**Category:** Tips and Tricks\
**Tags:** tm-translation-memor\
**Created:** [October 1, 2018, 8:15pm UTC](https://community.transifex.com/t/error-importing-tmx-file/83 "2018-10-01T20:15:51Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![flafich](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.transifex.com/flafich/32/11_2.png) [@flafich](https://community.transifex.com/u/flafich)\
**Post date:** [October 1, 2018, 8:15pm UTC](https://community.transifex.com/t/error-importing-tmx-file/83/1 "2018-10-01T20:15:52Z")

</div>

When importing the TM from a different platform, I get an error because of the source lang code (the TM has en-US, Transifex has en). Would you know how to work around this issue?

---

<div class="post-metadata">

**Author:** ![flafich](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.transifex.com/flafich/32/11_2.png) [@flafich](https://community.transifex.com/u/flafich)\
**Post date:** [October 1, 2018, 8:16pm UTC](https://community.transifex.com/t/error-importing-tmx-file/83/2 "2018-10-01T20:16:09Z")

</div>

To make this work, you need to edit the TMX file and find & replace the “en-US” language code with “en”.
