to use a third-party service like a (free) translating service, its often necessary to add the "current URL" to a link,
Is there any plugin or built-in option, maybe with help of PHP, to do this ?
Of course I want to avoid to put a link to any of my pages, which contains the hand-written URL of the page.
Because this would increase the administration efford in case of changes.
And I would prefer to put the *same* code to any page, to activate that feature.
And it is no solutoin to put the translation help later in a template, so that there is no link in the dokuwiki .TXT pages, but just in the template framework.
So 100% pure PHP code would be ok, but as rookie ( of PHP and Dokuwiki ), its not easy to find maybe the right names of the proper variables... Any hints ?
but the current page of a dokuwiki document is always "doku.php".... or ?
b)The wonderful "this>../path/page" function of Dokuwiki does not help, as the current_page_url is not at the start of a link string.
More important, "this>" is the path to "doku.php" and so does not help much to solve the problem.
Btw, a solution which works with the Dokuwiki "internal niceurl" feature would be great.
So if there is no solution,
what do you suggest, to do, for me as Dokuwiki rookie and PHP rookie
a) write a plugin ?
b) insert some PHP code on any page ?
c) forget about it, its too much advanced for rookies
As I *love* to have a line of flags on my website pages, which offer translation to "any" language even if it is funny.