dokuwiki-plugin-dw2pdf icon indicating copy to clipboard operation
dokuwiki-plugin-dw2pdf copied to clipboard

support for translation-plugin

Open frank-w opened this issue 6 years ago • 7 comments

Hi,

please use language selected in translation-Plugin for Link-Text (export_ns).

regards Frank

frank-w avatar Dec 25 '17 18:12 frank-w

Request: please one issue per issue, thanks!

About language selection: For example current link is "Export namespace "test:" to file pdftitle.pdf"

Do you mean that at page "fr:ns1:page" you see the link: "Exporter la catégorie « test: » dans le fichier pdftitle.pdf."

At page "en:ns1:page" you see the link: "Export namespace "test:" to file pdftitle.pdf."

etc.

Or do you mean that the namespace of the export should determine the title with languagecode used in the namespace that should be exported?

So at page "ns1:page" you see the link: "Exporter la catégorie « fr:test: » dans le fichier pdftitle.pdf."

At page "ns1:page" you see the link: "Export namespace "en:test:" to file pdftitle.pdf."

If this is not corresponding with your idea, could you make an example which shows the idea?

Klap-in avatar Dec 30 '17 10:12 Klap-in

Yes, i mean the namespace-export-link should be in the language of that namespace. Currently the link-title is always the main-language of the wiki. The pdf itself uses the right language as i see

frank-w avatar Dec 30 '17 10:12 frank-w

aha, so if you make somewhere a link to export "fr:test", then you expect a french url? e.g. "Exporter la catégorie « fr:test: » dans le fichier pdftitle.pdf."

Do you also expect that this url is french if it is referred from a page in for example a Swedish namespace?

Klap-in avatar Dec 30 '17 17:12 Klap-in

Right,

here my example (english namespace in german wiki). Here i changed lang/de/lang.php to get in both namespaces a description that is nearly understandable by both languages.

http://www.fw-web.de/dokuwiki/doku.php?id=en/bpi-r2/start

frank-w avatar Dec 30 '17 17:12 frank-w

The link should be in language of the page where it is located...the target is shown in link....

frank-w avatar Dec 30 '17 17:12 frank-w

Is clear what i mean? Have you take a look in my wiki?

frank-w avatar Jan 21 '18 10:01 frank-w

Also related to #438

Klap-in avatar Oct 12 '22 21:10 Klap-in