Language file error

Everything related to Hesk - helpdesk software

Moderator: mkoch227

Post Reply
jessar94
Posts: 76
Joined: Sun Mar 16, 2014 7:54 pm

Language file error

Post by jessar94 »

I have a problem with my swedish language file.

I have download a HESK 2.5.5 translation and modify it:
I have add new lines from the 2.6.x English file
I have add new email files
I replaced help files

My file is saved with TF-8 encoding without byte order mark (BOM)

If i test the language map i get this error: Image
Klemen
Site Admin
Posts: 10136
Joined: Fri Feb 11, 2005 4:04 pm

Re: Language file error

Post by Klemen »

This simply means not all 2.6.x lines have been added to your 2.5.5 file, check again.
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
jessar94
Posts: 76
Joined: Sun Mar 16, 2014 7:54 pm

Re: Language file error

Post by jessar94 »

Klemen wrote:This simply means not all 2.6.x lines have been added to your 2.5.5 file, check again.
If i look In your English file can i found:
$hesklang['err_dbversion']='Too old MySQL version:'; // %s will be replaced with MySQL version

but %s is not there, but if i look to Italian (Italiano) language file is there: $hesklang['err_dbversion']='Versione %s MySQL troppo antica:'; // %s will be replaced with MySQL version

and here i located my problem, if i delete %s from the string and update my page is my swedish language file in the list and my swedish language file worked without any problem.
Klemen
Site Admin
Posts: 10136
Joined: Fri Feb 11, 2005 4:04 pm

Re: Language file error

Post by Klemen »

Hmm, I cannot duplicate this error on my test server.

Could you send me your non-working language file to kstirn AT hesk (DOT) com to try to verify where the problem is?

You are also invited to share your finished Swedish translation with others :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
jessar94
Posts: 76
Joined: Sun Mar 16, 2014 7:54 pm

Re: Language file error

Post by jessar94 »

Klemen wrote:Hmm, I cannot duplicate this error on my test server.

Could you send me your non-working language file to kstirn AT hesk (DOT) com to try to verify where the problem is?

You are also invited to share your finished Swedish translation with others :wink:
I have fix it but i don't know how i solved the problem, but you can download the file here: se.rar and upload the rar file to the server :)
Klemen
Site Admin
Posts: 10136
Joined: Fri Feb 11, 2005 4:04 pm

Re: Language file error

Post by Klemen »

I see what the problem is - your language file is missing this line:

Code: Select all

$hesklang['ticket_closed']			= '[#%%TRACK_ID%%] Ticket closed/resolved'; // New in 2.6.0
You will find it under

Code: Select all

// EMAIL SUBJECTS
Add that line and all should work OK.
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
jessar94
Posts: 76
Joined: Sun Mar 16, 2014 7:54 pm

Re: Language file error

Post by jessar94 »

Klemen wrote:Hmm, I cannot duplicate this error on my test server.

Could you send me your non-working language file to kstirn AT hesk (DOT) com to try to verify where the problem is?

You are also invited to share your finished Swedish translation with others :wink:
You can now upload my finished Swedish translation :) my new file can you download here: se.zip

I have banned emailsdomains , you can download my list here: hesk_banned_emails.sql
Klemen
Site Admin
Posts: 10136
Joined: Fri Feb 11, 2005 4:04 pm

Re: Language file error

Post by Klemen »

Thank you, I fixed some encoding issues and uploaded your translation here:
http://www.hesk.com/languages/26/se.zip
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
Post Reply