Skip to content

Commit

Permalink
Issue #327 also translate pages that point to the resource library.
Browse files Browse the repository at this point in the history
  • Loading branch information
maria-thinkshout committed Nov 23, 2021
1 parent 537a479 commit 1f759dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/wri_taxonomy/wri_taxonomy.module
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ function wri_taxonomy_term_uri(TermInterface $term) {
if (isset($filter_by)) {
$paths_helper = \Drupal::service('wri_search.pretty_facets_helper');
if ($paths_helper) {
return Url::fromUri('internal:/resources' . $paths_helper->getPrettyPaths($filter_by));
return Url::fromUri('internal:/resources' . $paths_helper->getPrettyPaths($filter_by), ['language' => $term->language()]);
}
}
}
Expand Down

0 comments on commit 1f759dc

Please sign in to comment.