ioBroker.docs icon indicating copy to clipboard operation
ioBroker.docs copied to clipboard

Link to original article in automatic translation articles broken

Open Garfonso opened this issue 5 years ago • 2 comments
trafficstars

Steps to reproduce:

  • Open adapter documentation that is automatically translated, for example https://www.iobroker.net/#de/adapters/adapterref/iobroker.lovelace/README.md
  • a greenish hint banner will appear at the top, a mouse over hint says "click to see original"
  • a click on the banner leads to https://www.iobroker.net/#en/undefined

so the link is broken

Garfonso avatar Jun 23 '20 12:06 Garfonso

The same happens for the "default" documents: https://www.iobroker.net/#en/documentation/install/updateadapter.md contains a link to https://www.iobroker.net/tutorial/adapter.md?upgradeeinesadapters, correct would be https://www.iobroker.net/#en/documentation/tutorial/adapter.md?upgradeanadapter Notice how both the query string and the absolute URL are wrong.

AlCalzone avatar Jul 16 '20 14:07 AlCalzone

I tried here on this page https://www.iobroker.net/#de/documentation/install/linux.md in chapter https://www.iobroker.net/#de/documentation/install/linux.md?voraussetzungenprfen to use a relative link so that the link is always correct if you switch the language. Vor der Installation prüfe bitte, ob das System alle notwendigen [Installationsvoraussetzungen](./requirements.md) erfüllt.

But this is not working

@GermanBluefox Can you please tell me what is correct syntax to create a relative link to a page inside the documetation?

Feuer-sturm avatar Nov 25 '23 23:11 Feuer-sturm