Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

translationKey not working with Page Resources #4465

Closed
Brixy opened this issue Mar 1, 2018 · 5 comments
Closed

translationKey not working with Page Resources #4465

Brixy opened this issue Mar 1, 2018 · 5 comments

Comments

@Brixy
Copy link

Brixy commented Mar 1, 2018

Maybe, there is an issue with Page Resources and multilingualism.

Neither

── blog/
│   └── my-article
│        └── index.md
│        └── index.de.md

nor

── blog/
│   └── my-article
│        └── index.md
│        └── mein-titel.de.md

seem to work together with translationKey.

 

Thank you very much for Page Resources. Together with #4436 this is a web developer’s dream coming true :-)

@bep
Copy link
Member

bep commented Mar 1, 2018

That is odd. Will check.

@stale
Copy link

stale bot commented Jun 29, 2018

This issue has been automatically marked as stale because it has not had recent activity. The resources of the Hugo team are limited, and so we are asking for your help.
If this is a bug and you can still reproduce this error on the master branch, please reply with all of the information you have about it in order to keep the issue open.
If this is a feature request, and you feel that it is still relevant and valuable, please tell us why.
This issue will automatically be closed in the near future if no further activity occurs. Thank you for all your contributions.

@stale stale bot added the Stale label Jun 29, 2018
@stale stale bot closed this as completed Jul 29, 2018
@adamhavel
Copy link

This still seems to be an issue. I have a structure like en/blog/article-name/index.md and cs/blog/nazev-clanku/index.md, linked via translationKey (which works for linking between the translations) and I would like them to share a thumb.jpg, placed in one of the folders, but the image shows only for that one language.

@Brixy
Copy link
Author

Brixy commented Jul 25, 2019

It seems there are problems with translationKey and also with slug in combination with Page Resources.

Currently I use this in config.yaml:

permalinks:
  pages: /:slug/

It is the best solution I found—yet, it is a hack.

Can we re-open this issue as it was closed by the stale bot?

@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 17, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants