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.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

ykyuen’s picture

Assigned: Unassigned » ykyuen
ykyuen’s picture

Thanks 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

ykyuen’s picture

Status: Active » Needs review
ykyuen’s picture

Issue summary: View changes
Status: Needs review » Closed (fixed)
ykyuen’s picture

patch applied to 7.x-1.2.