Localized PNI categories and products#6391
Localized PNI categories and products#6391KalobTaulien wants to merge 3 commits intowagtail-localizefrom
Conversation
|
I've run into a bit of a hiccup here. My instructions above are wrong. We need Alias Pages (ie. French pages) to be able to select their own snippets. Otherwise what we're doing is editing an English page and changing it's category - which may not reflect the exact behaviour we want out of wagtail-localize. Ideally, wagtail-localize would provide a way for us to select Snippets in the translation-view (Alias Page). Currently, I can't seem to enable that behaviour. I'm moving this ticket to blocked until I can get some more information around this. Edit: On second thought, there's an easier way around this. We can select multiple categories (ie. English Entertainment and French Entertainment) and then filter products based on their categories. Then auto-aliasing can kick in and only one page needs to manage the category content. And that would unblock this ticket. |
Ah, I was going to ask about this!
Can’t we use the same mechanism that Karl mentioned to get the snippets synchronized, like any other field? I think he suggested we could just mark the snippet as synchronized? Or is that what you mean with auto-aliasing? My general feedback on this is that don’t really want something like this to be manual, as it would be way too hard to keep in sync for all locales, doesn’t really scale, and is hard to track. I.e. if a category is added to an existing product in English, you’d have to :
|
|
Yeah so what I think we're going to end up doing @TheoChevalier is managing all the categories through the English page. So there could be Entertainment (English), Entertainment (French), Entertainment (Spanish) etc. At least that would be a good first step to finishing this ticket, and then we can do back and get more clever with this so they only need to select one category. But I feel like that's a tad out of scope for this ticket. Definitely open to feedback though! |
|
Closing in favor of #7124 |
Closes #6064
Steps for user testing:
☝️ That's a lot of steps. Ping me on slack if anyone needs assistance.
Requesting Theo for user testing review and Pomax for code review.