Discussions
SuiteWorld brings thousands of innovators, builders, and leaders together to learn, connect, and shape what’s next. This October, explore how to build a stronger foundation for growth through inspiring keynotes, major product reveals, hands-on sessions, and unforgettable moments—all in one place for our biggest event of the year. Join us
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.