Hi, Can we print invoice pdf using advanced templa...
# advancedpdf
t
Hi, Can we print invoice pdf using advanced template based on subsidiary country language. Suppose for poland, we need to print pdf in poland language?
r
Yes, you need to add Polish as a language to your account. Then update the language on the customer to Polish (under Preferences)
Any custom fields will need to be manually added as a translation
t
thank you Ryan for your reply. I need to print in poland for the customers that has poland country not for all customers
r
Adding Polish to your account won't set the language for all customers to Polish, only the customers that you set the language to Polish for.
You can run a CSV import on all customers where country = Poland and update the language to Polish
t
@ryanhowson How to add polish language in account
plz let me know the steps
r
Setup > Company > General Preferences. Scroll down to Languages subtab and add Polish as an option
t
there is no languages tab
Is there any setting to show the languages tab
?
r
Oh, you'll need to enable multi-languages then
Setup > Company > Enable Features. Under Company subtab, enable multi-language
t
Hi Ryan ...I have made this setup for Hebrew language. also set the Hebrew language on customer preferences. Still Invoice is printing in english
Should I need to change anything else to print the invoice for that customer in HEbrew
r
Are you pressing "Print in Customer's Locale"?
t
yes
s
Have you customized the template? If you are using the native field labels, they should translate automatically. If you have hard-coded the labels, then they will not be translated. Are you able to share part or all of the template?
t
Ya I customized the template.. and some of the template part is showing in Hebrew while other is not\
message has been deleted
FRoST System invoice template.xml
s
Everywhere where you have typed in explicit values, those will not be translated. You have provided exact literals, so Netsuite can't/won't translate them: Invoice No. Date Customer ID Contract No.
Copy code
Electronic Funds Transfer can be made to:
t
ok Thanks Scott but what about the company information and other text in the template
what can be done to set the complete text of template in Hebrew
?
s
two things to be aware of with NetSuite languages: NetSuite will only provide translations for standard fields on the standard record types by default. If you add custom fields, custom record types, or custom text to your templates, then you have to provide the translations yourself. With that, the only way to get the standard fields to print in a different language is to use the standard labels in the template, rather than custom label text. For example:
${record@title}
instead of
Invoice No.
${record.trandate@label}
instead of
Date
and so on. Some of the labels may not provide the text you want, but that is the tradeoff you have to make to get automatic translations. You can override the labels on the transaction form itself, but that will only affect your language, and not the translation in Hebrew or other languages
t
@scottvonduhn thanks for the information..So, Fields value that are standard like (Billto, shipto, Company address) should be printed in Hebrew but they are not...if there any limitation for that
s
Well, I just tested this with some different languages, and indeed, the labels are not showing up when Hebrew is selected. It could be that either NetSuite has not provided out of the box translation for certain languages (Hebrew being one of them) or that an additional localization bundle must be installed to get it. I am not sure. A number of languages do have translations provided, so I'm not sure why this one doesn't work.
t
I Scott, I contacted netsuite support regarding showing custom text and hardcoded value in Hebrew in pdf. So finally I found a solution for that
we need to add the TTF files for hebrew language in File cabinet and copy the file URL from there, and then need to add the link in our template code
s
that's great!