mbrennwa
Forum Replies Created
-
Forum: Plugins
In reply to: [Category Posts in Custom Menu] Alphabetic sorting not working wellThanks Thomas for this suggestion. This works if the the same post titles are used in all languages. However, I prefer translating the titles.
I also found that in my case the German titles are used for the ordering of the menu entries, even if the posts and menu entries are displayed in English. For example:
Post 1 with titles:
– German: “Erstmals”
– English: “First Time”Post 2 with titles:
– German: “Wieder”
– English: “Again”Sorting these titles alphabetically in the menus SHOULD give:
German:
1. “Erstmals”
2. “Wieder”English:
1. “Again”
2. “First Time”In reality, the German menu will turn out as above. However, the entries in the English menu will be reversed, because the sorting is done using the German titles (I believe).
I have reported this bug at the qTranslate WordPress support site, but did not get any response until now.
Cheers
MatthiasForum: Plugins
In reply to: [Category Posts in Custom Menu] Alphabetic sorting not working wellHi Diana
qTranslate adds some extra notation to allow distinguishing between different languages. For instance, the post title might be:
– English title first, then German title: <!–:en–>Peerless Subwoofer (active)<!–:–><!–:de–>Peerless Subwoofer (aktiv)<!–:–>
– German title first, then English title: <!–:de–>Peerless Subwoofer (aktiv)<!–:–><!–:en–>Peerless Subwoofer (active)<!–:–>Alternatively, the post title might be the same in both languages. Then, there’s no need to add the extra code (<!–:en–> and stuff).
If the sorting is done using the raw post title fields that may include things like <!–:en–>, <!–:de–>, etc., things go wrong. I guess it would be better if qTranslate would process the post titles first, i.e., it should extract the post title in the current language. This would strip away the <!–:en–> and similar bits, and would result in proper sorting.
However, I don’t know enough about WordPress programming and plugins to tell if this is something that should be done in the Category Posts Menu plugin, or in the qTranslate plugin.
Cheers
MatthiasForum: Plugins
In reply to: [Category Posts in Custom Menu] Alphabetic sorting not working wellHi, I just tracked down the wrong sorting to an incompatibility with the qTranslate plugin. The sorting may go wrong depending on how the language information is stored in the post title. Is this something that would need to be changed in qTranslate or in the Category Posts plugin?
mbrennwa