Closed stapelberg closed 3 years ago
This has nothing to do with the translation plugin. Links containing a namespace are always absolute. Please read up on https://www.dokuwiki.org/namespaces
Links containing a namespace are always absolute. Please read up on https://www.dokuwiki.org/namespaces
Which part specifically?
And I don’t quite understand: even if namespaces are absolute, why does that mean we can’t automatically link to translated pages?
The translation plugin does not handle linking except for what it does in it's own language switching menu. When you translate pages you have to link to the proper pages yourself.
The translation plugin does not handle linking except for what it does in it's own language switching menu. When you translate pages you have to link to the proper pages yourself.
But wouldn’t you agree it’d be more convenient if the translation plugin would do so?
Or is there some reason to not add this feature request?
I’m working on a dokuwiki instance that is in German as its main language.
We’re now trying to add a French translation.
Let’s say we have the following 2 German pages:
recht/einleitung
, which contains a link to:recht/verzeigung
Now, we add (only) a French version of
recht/einleitung
under pathfr/recht/einleitung
, but not yet a translation ofrecht/verzeigung
.When displaying the French
fr/recht/einleitung
, the link leads to the Germanrecht/verzeigung
.So far, this is expected. But, what happens when we add a translation of
recht/verzeigung
underfr/recht/verzeigung
, too?AFAICT, the link in the French
fr/recht/einleitung
will still end up in the Germanrecht/verzeigung
.I would have expected the translation plugin to realize that a French version exists, and update the link accordingly.
It seems like, whenever we add a new French page, we need to update all incoming links in the French versions manually?