开发者

Multilingual in Drupal: Can't have a node and it's translations as frontpage. How to?

开发者 https://www.devze.com 2022-12-28 05:00 出处:网络
i built a page in Persian. set it\'s path to front set drupal frontpage to /front everything is O.K. in mysite.com/fa
  1. i built a page in Persian.
    1. set it's path to front
    2. set drupal frontpage to /front
    3. everything is O.K. in mysite.com/fa
    4. i translate the page to en

problem arises. now the path of Persian page changes to default node/33. now in language's frontpage drupal says Can't find the page.

i tried to set path front to the translated english page. but it did not helped. i alse tried to assign path fa/front to my Persian page.

nothing helped.

translating brakes path in other nodes.

how can i have these pages /front and /fa/front translat开发者_JAVA百科ed of each other as the same time?


I also experienced 'path not found' issue for localized pages when addressing them by path alias (only reproduced for the default language pages).
I fixed it by setting 'path prefix' for the default language (admin/settings/language/edit/en for English).

However I'm not sure you have the same problem, if so - try to set 'node/33' path for your front page instead of using alias.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号