Page 1 of 1

Language file error

Posted: Tue Mar 10, 2015 6:42 pm
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

Re: Language file error

Posted: Tue Mar 10, 2015 7:42 pm
by Klemen
This simply means not all 2.6.x lines have been added to your 2.5.5 file, check again.

Re: Language file error

Posted: Wed Mar 11, 2015 10:05 pm
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.

Re: Language file error

Posted: Thu Mar 12, 2015 7:37 am
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:

Re: Language file error

Posted: Thu Mar 12, 2015 7:12 pm
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 :)

Re: Language file error

Posted: Sun Mar 15, 2015 9:37 am
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.

Re: Language file error

Posted: Tue Mar 17, 2015 9:22 pm
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

Re: Language file error

Posted: Wed Mar 18, 2015 5:35 pm
by Klemen
Thank you, I fixed some encoding issues and uploaded your translation here:
http://www.hesk.com/languages/26/se.zip