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!
Welcome to the nuBuilder Forums!
Join our community by registering and logging in.
As a member, you'll get access to exclusive forums, resources, and content available only to registered users.
Join our community by registering and logging in.
As a member, you'll get access to exclusive forums, resources, and content available only to registered users.
Native multilanguage support and nuTranslate()
-
- Posts: 28
- Joined: Sat Jan 21, 2023 12:17 am
- Has thanked: 26 times
- Been thanked: 4 times
-
- nuBuilder Team
- Posts: 4449
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 75 times
- Been thanked: 488 times
- Contact:
Re: native multilanguage support and nuTranslate()
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).
Also see Wiki
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).

-
- Posts: 28
- Joined: Sat Jan 21, 2023 12:17 am
- Has thanked: 26 times
- Been thanked: 4 times