Closed vlabeit closed 2 years ago
Hi @vlabeit - please use the Wagtail tag on Stack Overflow for support queries, or see the Support page in the documentation for other options.
Closing as this isn't an issue with bakerydemo itself.
actually i think it is bakerydemo issue, this file / line / problem does not exist in original wagtail @gasman but thanks anyway, i will try to figure it out..
I am struggling with that issue already few days and can't find any solution or what is the problem.
after adding the localization to the app all the links in the main "homepage" (i used bakerydemo https://github.com/wagtail/bakerydemo) all are directing only to the english pages.
https://i.imgur.com/EkTvRg3.png
my settings
on apps `"wagtail_localize",
'wagtail.locales',
didn't make any other changes on the files.
I have tried to remove WAGTAIL_I18N_ENABLED = True to handle the logic by myself but then there is an error:
'NoneType' object has no attribute 'strip'
Why is s (self.get_parent().url,) empty? or how can i fix the only EN language on links?
i tried few more functions from parent Page class but all return None
thanks in advance and will appreciate all the help i can get here.