Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi,
I just discover this module today and try to use it on my multilingual site, following the instructions.
At first, I try to change the title of some page, using both the 'node/x' and the path alias, but nothing changed on my page.
Am I missing something? Thanks for help.
Comment | File | Size | Author |
---|---|---|---|
#2 | beanstag-fix-language-prefix-in-path-2062609-1.patch | 2.44 KB | ykyuen |
Comments
Comment #1
ykyuen CreditAttribution: ykyuen commentedComment #2
ykyuen CreditAttribution: ykyuen commentedThanks for pointing out the problem.
When a user try add a beanstag with language prefix path alias, it fails to pass the validation. the attached patch should fixed the problem.
Here is an example on how beanstag works in multi-lingual.
Assume you have the following 4 nodes.
Name: Article A
Internal path: node/1
Path alias: articles/article-a
Language: ENG (default site language so no path prefix above)
Name: Article B
Internal path: node/2
Path alias: articles/article-b
Language: ENG (default site language so no path prefix above)
Name: Article A
Internal path: fr/node/3
Path alias: fr/articles/article-a
Language: FRENCH
Name: Article B
Internal path: fr/node/4
Path alias: fr/articles/article-b
Language: FRENCH
you could add beanstags for the following path alias.
articles/article-a
articles/article-b
fr/articles/article-a
fr/articles/article-b
If you want beanstag to work on internal paths, you need to add the the follow as well
node/1
node/2
fr/node/3
fr/node/4
Comment #3
ykyuen CreditAttribution: ykyuen commentedComment #4
ykyuen CreditAttribution: ykyuen as a volunteer commentedComment #5
ykyuen CreditAttribution: ykyuen as a volunteer commentedpatch applied to 7.x-1.2.