Discussions
Join us for complimentary one-day events around the world and step into a future fueled by AI and limitless potential. Explore new breakthroughs, sharpen your skills, and connect with experts who are shaping what’s next. Experience bold keynotes, interactive learning, and connections that span the global NetSuite community. Discover what's next at SuiteConnect Tour 2026.
Advanced PDFs: Is there a way to print numbers in Chinese characters?
I can change the language of the form to Chinese using:
' <link name="NotoSans" type="font" subtype="truetype" src="${nsfont.NotoSans_Regular}" src-bold="${nsfont.NotoSans_Bold}" src-italic="${nsfont.NotoSans_Italic}" src-bolditalic="${nsfont.NotoSans_BoldItalic}" bytes="2" />'
But this doesn't convert numbers into Chinese characters. E.g. 16 would be 十六. 1920.99 would be 一千九百二点九九. Is there a way to achieve this within the PDF? I'm currently trying to convert the {subtotal} field on my form.
It might be a bit too much for now, requiring scripting and a API to convert numbers to characters. If that's the case, then don't worry about it, I'll just make a custom field for now and it'll have to be done manually.