Jump to content

Need help with croatian language file


Recommended Posts

I am going crazy, pls help. I have made all as described in documentation. Made copy of english.txt renamed it to croatian.txt

then with notepad++ saved it as utf-8

then when I use letters like čćšžđ it displays properly on print preview but in the pdf document sent in email to the customers it dont dispays like it should have.


please help, tx

Link to comment
Share on other sites

Since his problem lies within the PDF invoice file, he needs to edit his invoicepdf.tpl template file.


Actually it's quite easy:


1. "install" freesans font (copy freesans font files to your includes/fonts folder)


2. edit invoicepdf.tpl file to use that font ( $pdf->SetFont('freesans',''); )


P.S. that will make your PDF files bigger (around 350 KB) since every PDF file that gets created will have to include that font, in order to display croatian letters. And no, you can't "override" that ;)



P.P.S. i see you did it already... i'll leave this post, in case anyone else needs it.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated