- Issue created by @DanLyons
- π¨π¦Canada joseph.olstad
danlyons , the drupal alias system allows creating a translation, I suggest using the non-aliased link which when clicked the url will become that alias.
- π¨π¦Canada joseph.olstad
Appears that you're using linkit
linkit is likely behaving correctly.
Next step is to go into the drupal aliases and add an alias for the expected language for this node id, in your case node/17026
This appears at first glance to be outside of scope of the bootstrap_site_alert module.
- Status changed to Needs review
4 months ago 6:18pm 21 August 2024 - πΊπΈUnited States DanLyons
The URL translation works as expected for other content types:
It's only within alerts that links render with the raw node URL.- We are using Linkit along with Pathauto so the aliases are created automatically
- We only support a single language
- π¨π¦Canada joseph.olstad
check the weights of your test filters in your text format for "Basic HTML"
make sure that the linkit one is running before others.
- πΊπΈUnited States DanLyons
Linkit is set as the first filter to run for all of our HTML text formats
- π¨π¦Canada joseph.olstad
Hmm, ok as a workaround for now, until this issue is resolved, simply code in an anchor manually with a relative path using the desired alias instead of using linkit.
I haven't looked that closely at the bootstrap_site_alert source code to know what's going on just yet. I took over maintaining this project so I'm not sure if it's using a text formatter plugin of it's own that should run after the linkit text formatter plugin.
Possibly need to refactor this module to work better with text formatter plugins.
With that said, do a simple workaround to get you through the day , we'll keep this issue open to have a closer look.
- Status changed to Active
4 months ago 8:05pm 22 August 2024