Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Ok ,thanks for the input, I’ll take your input when I find more time to make adjustments.

    Chouby, I hope you don’t mind that I’m making adjustments? I will send them to you for approval / inclusion, I’m not intending to make this a polylang plugin, because I don’t think I have enough hooks and don’t want to duplicate half of your codebase to extend it.

    Yeah I could, but the problem is the cookie is not mandatory… You can turn it off in polylang, or the browser could ignore the cookies.
    I’m thinking of supporting a /nolanguage/whatever/slug/you/have which will then redirect the user to the page while determining a language (from cookie, browser or fallback).

    Will this work for your scenario ? Can you actually choose the exact url to forward to, or do you have to pick a certain page?

    I’ve been working several days on making a ‘NoLanguage’ patch for polylang. Currently I have it completely working for the following settings:

    • permalinks (year/postname)
    • hide default language in URL
    • hide /language/
    • force adding language code

    The last setting is mandatory I think because this is the only way to differentiate what the current language for the user is…

    I still need some more time to make it work in more cases (no permalinks, etc…) and other bugs not really relevant to my case.

    When I’m done, I will provide Chouby with a patch and hope he will accept the changes.

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