Translation

QuestionsTranslation
Massimo Gagliardi asked 11 years ago

I changed –> require_once('tcpdf/config/lang/eng.php');
in –> require_once('tcpdf/config/lang/ita.php');
but in the footer I always see "page" and not "pagina"
How do I do?

4 Answers
Abu Ghufran answered 11 years ago

To change grid's language, you need to change JS file of localization.
Replace grid.locale-en.js to grid.locale-it.js

<script src="../../lib/js/jqgrid/js/i18n/grid.locale-it.js" type="text/javascript"></script>

Abu Ghufran answered 11 years ago

You might also need to add this meta tag in head of html.

<meta http-equiv="Content-Type" content="text/html; charset=utf-8">

Massimo Gagliardi answered 11 years ago

Excuse me Abu.
I haven't explained well
I refer to the PDF export
I did how to you said me changing JS file of localization
Alright in all except that in the PDF.
In the PDF footer I find 'page' instead of 'pagina'.
In the PDF there is another file of localization.
This is 'tcpdf/config/lang/eng.php' or, for example., 'tcpdf/config/lang/ita.php'.
I changed from ..eng.. to ..ita.. but I continue to obtain 'page' instead of 'pagina'.
How do I do?

Abu Ghufran answered 11 years ago

TCpdf is used for PDF generation.
You can check it's forum or documentation for such work.

http://www.tcpdf.org/docs.php

Your Answer

12 + 6 =

Login with your Social Id:

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.



How useful was this discussion?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?