Forum Replies Created

Viewing 7 replies - 1 through 7 (of 7 total)
  • Hi allferis,

    I had the same problem when adding top level pages using /%postname%/ as my permalink structure with Polylang installed. Gives me a 404 error when trying to view the page. This is on a WordPress network setup.

    I noticed that if I didn’t add a language in the Languages admin panel, I get this problem, but by adding at least one language got the top level pages to work. I removed the language from the Languages admin panel after adding one top level page and the problem is still fixed. I can now add top level pages without any 404 errors.

    Whooo hoooo!!! It works!!!

    Polylang was activated at network level and I did add the new site afterwards, so I de-activated and re-activated the plugin at network level, and everything is working now exactly the way it should. I tested all your questions from earlier and all is working perfectly.

    Thank you so much!

    Hi Chouby,

    I translated your plugin to Afrikaans, where can I send you the .mo & .po files?

    Hi Chouby,

    Before we continue, I just wanted to let you know about my setup. I used to run a single site install and everything worked great, but recently switched to a multisite install when I noticed the categories giving me trouble.

    I use the WordPress MU Domain Mapping plugin to map my domains, can be found here.
    My permalink structure is /%postname%/
    I use a static front page.

    I tested 0.9.3.8 on a single site & multisite install.

    Answers to your questions:
    A: On a Single Site Install
    B: On a Multisite Install

    When you create a new post, the first proposed language should be:

    1. The default language if the language filter is set to “Show all languages”
    2. A – Correct
      B – Correct

    3. The language chosen in the language filter otherwhise
    4. A – Correct
      B – Correct

    When you are in the post edition panel:

    1. The categories metabox should display only the categories in the post language. If you change the post language, the list of categories should change accordingly
    2. A – Correct
      B – Doesn’t show any categories in the category meta box, even after changing the language filter in the admin toolbar to “Show all languages”

    3. If you create a new category, Polylang automatically affect it the current post language
    4. A – Correct
      B – Gets added to the categories, but the language is allways set to English, even though that is not my default language

    5. If you select another option in the language filter in the admin toolbar, it should have no influence on your listed categories (bug corrected in 0.9.3.5)
    6. A – Correct
      B – Again, doesn’t show any categories in the category meta box

    When you are in the categories panel:

    1. The categories are listed according to the language chosen in the language filter (bug introduced in 0.9.3.5 and corrected in 0.9.3.6
    2. A – Correct
      B – Selecting any of the languages displays an empty category list, but selecting “Show all languages” displays all cetegories

    3. The first proposed language for a new category should be the language of the filter
    4. A – Correct
      B – Correct

    5. The parent dropdown list displays only the categories in the same language as the category you want to create
    6. A – Correct
      B – Allways empty, no matter what option I select in the language filter in the admin toolbar

    When you are in the edit category panel:

    1. The parent dropdown list displays only the categories in the same language as current category you are editing
    2. A – Correct
      B – Displays every category in every language

    3. The language filter should have no influence on parent dropdown list (bug corrected in 0.9.3.6)
    4. A – Correct
      B – Correct, but still displays every category in every language

    Hope this will help.

    Hi Chouby,
    I tried 0.9.3.5, but still with no luck, the behaviour is still the same.

    I don’t know if this might have an impact, but I couldn’t set my categories to a specific language when creating new categories, it always gets set to the default language. I’m not sure if it is required to set new categories to a specific language?

    Thanks for your help.

    About the previous post, I just realised that it still doesn’t doesn’t do me any good. When you do publish the post, it does not remember the category selected. I still have to go to the Quick Edit menu and select the category there, only then does it remember the category. Oops…

    I installed the latest version 0.9.3, but still have the same problem as ‘bucketsofrain’ where the categories list remains empty when trying to add/edit a post. As soon as I select ‘show all languages’ it shows all the categories. Thanks for that ‘bucketsofrain’.

    When selecting ‘show all languages’, I noticed the url change from:
    https://somewebsite.com/wp-admin/post.php?post=1234&action=edit
    to
    https://somewebsite.com/wp-admin/post.php?post=1234&action=edit&lang=all

    A temporary fix I use so that Editors of the website don’t have to select this every time is to add some javascript in the ‘Footer HTML’ section of the ‘WP Admin Theme’ plugin.

    <script type='text/javascript'>
      var url = window.location.toString();
      var post = url.indexOf('post=');
      var edit = url.indexOf('action=edit');
      var lang = url.indexOf('lang=');
      if (post != -1 && edit != -1 && lang == -1) {
        window.location = url + '&lang=all';
      }
    </script>

    Hope this problem will be solved in a new release some time, I really love your plugin. Thanks.

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