Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[XLIFF] New translations are imported with empty slugs #1351

Closed
timobrembeck opened this issue Apr 11, 2022 · 0 comments · Fixed by #1372
Closed

[XLIFF] New translations are imported with empty slugs #1351

timobrembeck opened this issue Apr 11, 2022 · 0 comments · Fixed by #1372
Assignees
Labels
‼️ prio: high Needs to be resolved ASAP. 🐛 bug Something isn't working
Milestone

Comments

@timobrembeck
Copy link
Member

Describe the Bug

When translations that do not yet exist in the database are imported via XLIFF, the resulting objects have empty slugs.

Steps to Reproduce

  1. Export XLIFF file for pages that do not have a translation in the target language
  2. Write dummy titles into the XLIFF files
  3. Import XLIFF files

Expected Behavior

The translation slug should be automatically derived from the translated title

Actual Behavior

The slug is empty and the translation object is saved with an empty slug

@timobrembeck timobrembeck added 🐛 bug Something isn't working ‼️ prio: high Needs to be resolved ASAP. labels Apr 11, 2022
@timobrembeck timobrembeck added this to the Version 1.1 milestone Apr 11, 2022
@MizukiTemma MizukiTemma self-assigned this Apr 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
‼️ prio: high Needs to be resolved ASAP. 🐛 bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants