Thread Starter
jojaba
(@jojaba)
No, I didn’t ry to remove a cat.
I wanted to do the test so I went to the category page and saw that now the right french default cat was displayed (with all languages on the top admin bar selector). But when I switch to german (in the admin bar selector), the french default cat still displayed…
I removed a german cat and the posts moved to the default german cat, so the functionnality works.
This means that it is only a display issue (very minor).
Plugin Author
Chouby
(@chouby)
I never noticed this issue before. In fact the category displayed in the default category set in Settings->writing (Polylang does nothing to achieve this and let WP work alone). I am not sure of what I should display instead.
Thread Starter
jojaba
(@jojaba)
In settings->writing you can set the default category for each language. That works fine.
In Article->Category, when the admin bar polylang selector is set to “All languages” the default language default cat should be displayed in the sentence under the listing table. In my case (it works) :
À savoir : supprimer une catégorie ne supprime pas les articles qu’elle contient. Les articles affectés uniquement à la catégorie supprimée seront affectés à celle par défaut : Actualités.
When selecting German in the admin bar selector, the sentence should be :
À savoir : supprimer une catégorie ne supprime pas les articles qu’elle contient. Les articles affectés uniquement à la catégorie supprimée seront affectés à celle par défaut : Neuigkeiten.
When english selected :
À savoir : supprimer une catégorie ne supprime pas les articles qu’elle contient. Les articles affectés uniquement à la catégorie supprimée seront affectés à celle par défaut : News.
As I said before, this is a minor issue (only a display issue, the “moving the postes of a removed cat” to the default cat feature works fine, I tested it) but could be annoying for low level skill users.
Plugin Author
Chouby
(@chouby)
That makes sense and is easy to do. I just included your suggestion in the development version (1.7.5.2)
https://downloads.wordpress.org/plugin/polylang.zip
Thread Starter
jojaba
(@jojaba)
Just tested your package.
Had a warning when reenabling the plugin :
========================
L’extension a généré 6421 caractères d’affichage inattendu lors de l’activation. Si vous voyez un message « headers already sent » (Les en-têtes ont déjà été envoyés), des problèmes avec les flux de syndication ou d’autres erreurs, essayez de désactiver ou enlever cette extension.
=========================
The defalt category display still the same (actualités) even when switching to german or english…
When deactivate the plugin I got 2 error messages (for 1 second) :
Error messages
Plugin Author
Chouby
(@chouby)
Thanks for the errors. I just updated the development version to fix them.
The defalt category display still the same (actualités) even when switching to german or english…
Strange as it works in my test site.
Thread Starter
jojaba
(@jojaba)
Just applied the fixed package. No errors anymore. Thanks.
In Article » Catégories the default cat (in the sentence below) still the french one (Actualités) even when switching to german and english language in the admin bar selector.
À savoir : supprimer une catégorie ne supprime pas les articles qu’elle contient. Les articles affectés uniquement à la catégorie supprimée seront affectés à celle par défaut : Actualités.
Thread Starter
jojaba
(@jojaba)
Hello Chouby,
Your thoughts about what I said in the previous message?
Plugin Author
Chouby
(@chouby)
Well, I don’t understand why it doesn’t work for you. I tested on several installs and it always works for me.
Thread Starter
jojaba
(@jojaba)
Never mind, it’s not a big issue. Nevertheless, I wish I could understand why this is not working for me…