Page 1 of 1

Native multilanguage support and nuTranslate()

Posted: Mon Sep 01, 2025 12:00 pm
by capstefano
Hi everyone,
I’m working on an app with multilingual support in nuBuilder, but the docs on this topic feel a bit thin for non-pros like me. I’ve been trying to figure out how things work and just wanted to check if I got this right (I've analyzed some system forms):

All object labels and table titles should get automatically translated into the user’s language, as long as there’s a matching record in the zzzzsys_translate table.

The nuTranslate() function can be used in custom code and follows the same logic above.

Did I miss something? Or am I misunderstanding how this works?

Thanks a lot for the awesome work you’re doing with nuBuilder!

Re: native multilanguage support and nuTranslate()

Posted: Mon Sep 01, 2025 12:43 pm
by kev1n
Hello,

You’ve understood the basics correctly.

Yes — if there’s a matching entry in zzzzsys_translate for the object’s text, nuBuilder will display the translation according to the user’s chosen language.
- nuTranslate(): Exactly — you can wrap any custom text with nuTranslate() and it will look up the same table.

A couple of small points that might help:
- Translations only work from English as the base language. In practice this means you should build your forms in English, and then provide translations into the user’s language.
- If a translation isn’t found for the current language, nuBuilder will fall back to the original English text.
- You can add or edit translations directly in the Translations form (Table zzzzsys_translate).
- Language is set per user record in the user form (Table zzzzsys_user, field sus_language).

:arrow: Also see Wiki

Re: native multilanguage support and nuTranslate()

Posted: Tue Sep 02, 2025 3:50 am
by capstefano
thanks for your support!