-
-
Notifications
You must be signed in to change notification settings - Fork 541
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
Term creation through fieldtype doesn't respect locale for slug #7200
Comments
Yeah, terms exist in the default site. If you enter a translation, it can't know what you wanted for the default language. Probably something for statamic/ideas#839. You can work around this by adding |
@jasonvarga We have Danish as the origin / default site, so it's not trying to create a translation |
Okay well maybe I misunderstood, but still, the workaround would be to prevent creating them on the fly there. |
@jasonvarga I just fixed the bug I was talking about - no need for a workaround |
Oh I see what you mean. Gotcha. |
Co-authored-by: Jason Varga <[email protected]> Fixes #7200
Bug description
Creating a term normally through its taxonomy page will generate the correct slug, however creating the term through the fieldtype will result in the slug being generated with English.
The term
Kødpålæg
in Danish should generate the slugkoedpaalaeg
, but in English it's generated askodpalaeg
.How to reproduce
da_DK
tags
taxonomyKødpålæg
in Danish and verify the slug is as stated aboveKødpålæg
in the terms field without it existingkodpalaeg
Logs
No response
Environment
Installation
Fresh statamic/statamic site via CLI
Antlers Parser
None
Additional details
No response
The text was updated successfully, but these errors were encountered: