translation of tickets_on_pages and go doesn't work

Helpdesk for my helpdesk software

Moderator: mkoch227

Post Reply
eproust
Posts: 9
Joined: Thu Jul 26, 2007 10:17 am

translation of tickets_on_pages and go doesn't work

Post by eproust »

I use Hesk 0.94 and I am going to finish a french translation...

I have noticed that

$hesklang['tickets_on_pages']
$hesklang['go']

are not translated...

Why ?
Could you help me so that I finish a complete french translation ?
Klemen
Site Admin
Posts: 10142
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

Hi,

You MUSTN'T translate anything inside $heslabng[''], that must stay the SAME!

For example:

$hesklang['xxxx']='yyyy';

Translate 'yyyy', but do NOT change 'xxxx'
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
eproust
Posts: 9
Joined: Thu Jul 26, 2007 10:17 am

Sorry but I know that...

Post by eproust »

I just copy/paste the name of the variable to make you understand that the translation does not work with these 2 vars.

See below what is really written in my french.inc.php

$hesklang['tickets_on_pages']='%d tickets affichés sur %d page(s). Aller à la page'; // First %d is replaced with number of tickets, second %d with number of pages
$hesklang['go']='Action';


Klemen Stirn wrote:Hi,

You MUSTN'T translate anything inside $heslabng[''], that must stay the SAME!

For example:

$hesklang['xxxx']='yyyy';

Translate 'yyyy', but do NOT change 'xxxx'
Klemen
Site Admin
Posts: 10142
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

Ah, I understand now what you mean. That was a problem with one of the older versions inside "print_tickets.inc.php" (text hard-coded inside instead of a variable). Download 0.94 again and upload file "inc/print_tickets.inc.php" over your current one and it should work. Looks like I forgot to mention that in the readme file :oops: :wink:
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
eproust
Posts: 9
Joined: Thu Jul 26, 2007 10:17 am

OK Thanks !

Post by eproust »

OK I will do this, thanks your reply.
Post Reply