Skip to content
Grav 2.0 is officially stable. Read the announcement →

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Support

Weird .md naming after enabling language support

Solved by pamtbaau View solution

Started by Pierre Causse 4 years ago · 8 replies · 499 views
4 years ago

Hi everyone !

I'm coding a website that need to be both in french and english.
I've enabled the two langages in my system config, and set french as default.
I then tried to create a new page in the admin panel, and once saved as french, I tried to save is as an english page directly from admin panel.

But then the article page in the admin panel was empty as it couldn't find the new page. When I wen to check directly to the files themselves, I found out that instead of creating "article.fr.md" and "article.en.md", it created for the english version an md file named "article.fr.md.en.md", and I can figure out why.

Any idea ? : /

👍 1
4 years ago

@edi0th, Are you still experiencing the same issue? The user who created the issue on Github can't reproduce the issue anymore...

4 years ago

Hi, I can reproduce it. But only once a day it seems. Not sure why. Could be cache or plugin related.

4 years ago

@AquaL1te,

Are there any processing running at night that might change the Grav installation?

Would you mind investing a little bit of time and try the following:

  • Logoff from Admin.
  • Login into Admin and try creating a new page as you did before.
  • If it does not reproduce the issue, try:
    • Logoff from Admin
    • Clear the cache $ bin/grav cache
    • Login to Admin and try creating a new page as you did before.

If still not reproducible each and every time, I have no other suggestions but to share your experiences at the afore mentioned Github issue.

4 years ago

@AquaL1te, @edi0th,

Please join the issue on Github and share your experiences. The dev team does not read this forum.

The issue is being closed right now because the original poster cannot reproduce the issue. When other users share their experiences the issue should be opened again.

4 years ago

@edi0th, @AquaL1te, I've created a new issue in the Admin repo with a reproducible case.

Please follow that issue to track the progress.

4 years ago Solution

@edi0th, @AquaL1te, Bug has been fixed in Grav core. Will need to wait until new release of Grav is available.

👍 1

Suggested topics

Topic Participants Replies Views Activity
Support · by Thomas, 1 week ago
2 60 16 hours ago
Support · by Anna, 3 days ago
2 66 19 hours ago
Support · by Justin Young, 20 hours ago
1 34 20 hours ago
Support · by Duc , 1 week ago
2 70 6 days ago
Support · by Colin Hume, 1 week ago
2 61 6 days ago