View Full Version : PDF export - page translation

Aleksandar Apostolovski
November 16, 2018, 10:55 PM
How/where can I find and translate the "page" word in the footer of the PDF exported ads?
I can't find it in the Languages/Phrases...

November 20, 2018, 04:17 PM
Hello Aleksandar,

Do you mean: Page 1/1 ?
It is default text from Acrobat reader :)

Aleksandar Apostolovski
November 20, 2018, 07:25 PM
Actually no, it's in /plugins/PdfExport/tcpdf/config/lang/
I only have to figure out why it shows ?????? in my language :/

November 22, 2018, 06:14 AM
Hello Aleksandar,

Open file: ftp://plugins>>PdfExport>>PdfExport.inc.php

find first line:


and replace to:

if(RL_LANG_CODE == 'mk')

save and check again.

Aleksandar Apostolovski
November 22, 2018, 04:49 PM
Hi Viktor,
I think there is no need of that because I've edited mk.php and then I've noticed when I used:
1. $l['w_page'] = $lang['page']; OR
2. $l['w_page'] = 'страна';
that the plugin reads the en/mk version of strana/страна from the language db in the first option, or reads just страна in the second option but the problem in either ways is in the encoding of the mk version: страна. And I can't figure it out why UTF-8 can't encode it