<@UJB23FFDF> the first thing to check is to make s...
# advancedpdf
s
@James Baker the first thing to check is to make sure you are using a font/fonts in your template that can correctly display the language/characters you need. NetSuite provides variants of Noto Sans fonts to support Chinese (Simplified and Traditional), Japanese, Korean, and Thai locales, though you can add your own fonts if you wish.
d
@scottvonduhn after this do we need to hardcode the other language character which we are supposed to print? Don't we have any translation for advanced PDF HTML Templates?
s
@D17339 are you referring to localization of the template, or simply language display support? To localize (or translate) your template, there are two ways to achieve it. After setting up multiple languages in Netsuite, you should see a list of languages for each field definition in a form. You can define the alternate display text for each field. Many standard fields and records have translations already provided. The other way is via translation collections, where you define blocks of text, and provide the translated version of that text. You can mix and match both in a template, though I will say that it takes a bit of setup to get things just right. There is also locale-specific number and date formatting to consider. However, it is possible to achieve all of it. What are you looking to do exactly?
d
I just need to print some Arabic character on the pdf, which are always character, example lets say standard sub list quantity field, I need to display in English and as well as in Arabic.
ex: 'وهنننل'
s
Okay. For that, it's probably best to just hard-code both languages text int he template, and select the appropriate font for each one.