Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter blablubb

    (@blablubb)

    Thanks a lot! That seems to be working.
    If the problems appears again I will try to report the steps how to reproduce it clearly ??

    Thread Starter blablubb

    (@blablubb)

    The problem is definitely connected to the problem of requesting non-existing pages. If I do that it will always happen.
    Can you maybe describe what you mean by “breaks the language detection”?
    I still don’t really understand how it can happen that the language of the page is just changed. I mean there must be some table somewhere that states clearly which page id has which language (Or each page remembers it…). It should not be possible to just change that automatically (That’s my feeling, I don’t really know how the plugin is implemented…).

    This might also be interesting: Once the language of the page was changed the translation of the page points to itself.

    EN page id = 2, DE page id = 14

    OK:
    DE(id = 14) -> EN id = 2, EN(id = 2) -> DE id = 14

    After automatic change:
    DE set to EN(id = 14) -> DE id = 14, EN(id = 2) -> DE id = 14

    So the German page changes its language to English and points back to itself for the German translation while the English page did not change (it still points correctly to 14, the problem is just that the language of 14 was changed to English…).

    Thread Starter blablubb

    (@blablubb)

    Hm… I still have the problem though…
    Anyway, thanks for the help.
    Are there any code parts where polylang automatically changes the language of a page (Or is the page language set dynamically anyway?)? If this can be easily listed it would be nice if you could point out the code parts – if it takes too much time then don’t; eventually I will find the problem – I hope ??
    If I know in which cases automatic language changes are done I could maybe find a way to reproduce the problem better…
    In any case I will test more and report back.

    Thread Starter blablubb

    (@blablubb)

    Perfect, thanks ??

    Thread Starter blablubb

    (@blablubb)

    Thanks for the quick reply. Where exactly in the code do you create/set the dropdown list? I looked into the widget code and found the handling of the dropbox, but where do I find the actual code of the HTML component? (Sorry, am not so familiar with php (yet…), so maybe the questions seems stupid).

Viewing 5 replies - 1 through 5 (of 5 total)