3

I have a Drupal 8 multi lingual site setup using the module Pathauto to generate path alias for taxonomy terms. The alias are created form the name of the tags, which are not translated but rather are in all languages the same. So I want all those alias be valid for all languages. The settings page of the module Pathauto lets me either leaving all languages unselected or choose specific languages for which the created path should be valid for. But unfortunately the pathes are created only for English and do not work if a user has a different language selected.

Is that a bug, or am I not doing it correctly?

1 Answer 1

3

That's currently not supported.

Partially blocked by core, which also doesn't allow to create language-neutral aliases while editing nodes and then also wouldn't show them anymore. See https://www.drupal.org/node/2511968 and https://www.drupal.org/node/2689459. Once those are resolved, pathauto could follow those definitions.

2
  • Thanks for pointing this out. But this is bad news. That means you can use alias on English sites only. Or is there any work around?
    – user5950
    Commented Jan 24, 2017 at 21:56
  • You could implement some custom code to generate the aliases. And you could test my patch in the first issue, it should be ready to be committed and was already RTBC once.
    – Berdir
    Commented Jan 24, 2017 at 22:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.