mozilla / wagtail-localize-smartling

Integration between wagtail-localize and Smartling's API
Mozilla Public License 2.0
1 stars 1 forks source link

API calls to add files to translation jobs don't apply language code mapping #15

Closed bcdickinson closed 1 month ago

bcdickinson commented 1 month ago

In particular, this line get's the unmapped codes from the wagtail-localize models, which causes validation errors if there are mismatches between the Django config and Smartling: https://github.com/mozilla/wagtail-localize-smartling/blob/4e5df47fb91d137aef85e0e2f12104ed543144ff/src/wagtail_localize_smartling/api/client.py#L379