-
Notifications
You must be signed in to change notification settings - Fork 846
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
Combining Pelican 3.7, Page hierarchy & i18n_websites - issue with internal links #939
Comments
@Jibec: Were you able to find a solution to your problem here? |
Nope, I choosed to play with Hugo and Grav instead of Pelican :/
|
Thanks for responding. Cheers. |
Well, if someone is willing to try to fix this issue, I'm ready to help by testing.
Using other static generator is not by choice, I'd rather keep using pelican.
|
I see. Perhaps @smartass101 might have thoughts on this question? |
I didn't find any translated pages in your repo ... if that is the case then I think that what is happening is that the links go to the English versions, since you have the |
This is an old work, I think you have to build translation, which require po4a and pybabel. I'll have a look at it and will come back with an explanation and a branch with translated content so you can have a look without building anything.
|
So, I created a new branch: https://github.com/Jibec/Simon/tree/pelicanhelp Run the server on localhost:8080
Thanks for your support |
Hi there,
I'm working on a prototype with Pelican, Page hierarchy & i18n_websites, but can't figure out why internal links in "locales != en" doesn't work...
Can someone have a look? https://github.com/Jibec/Simon
When I'm in a French translated page, all links goes to English version, but I would like them to go to french version.
For links, I use filename:
[User guide]({filename}/pages/user.md)
I have this for
PAGE_URL = '{slug}/'
andPAGE_SAVE_AS = '{slug}/index.html'
Even if I remove this config and page hierarchy, it still doesn't work :(
By the way, I'm trying to rewrite the documentation of this great open-source project: https://yunohost.org/#/docs_en so more languages gets support.
Thanks for your help, I tried IRC two times and didn't find any mailing list where to ask my question. I hope this is the right place.
The text was updated successfully, but these errors were encountered: