ioBroker / ioBroker.docs

Documentation for ioBroker
https://www.iobroker.net/#de/documentation
MIT License
59 stars 163 forks source link

[Bug]: Links in translated pages point to original language #521

Open SkyLined opened 2 months ago

SkyLined commented 2 months ago

Contact Details

No response

What happened?

It appears that inter-site links in translated pages are not modified to point to the translated language, causing them to link to the original language instead.

For instance: https://www.iobroker.net/#en/documentation on the en language websites has a link Adapter side vis on the de language website even though an en version exists. There are other examples.

From looking at the source code on GitHub, it appears that internal links use absolute URLs. This means the source has to contain the language (#de/ in the case of the above examples). During translation, these links should be modified to point to the translated language. It appears that this does not currently happen.

Link

https://www.iobroker.net/#en/documentation

Relevant log output

No response

Anything else?

No response