Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi all,
What is the best and easiest way to have a single QV document available in several languages? I mean, labels, text, etc.. Is the entering an expression into General > Settings for Selected Field > Label, for example, the only solution?
For example: =if(vLang = 'FRA','Bon jour', if(vLang = 'CRO','Bok', 'Hello'))
Thanks a lot,
Nenad
Define a table with your translations:
KEY | EN | RO | HU |
1 | Sales | Vanzari | Értékesítési |
2 | Computer | Calculator | Számítógép |
3 | User | Utilizator | Felhasználó |
4 | Last reload | Ultima actualizare | Utolsó frissítés |
5 | Duration | Durata | Időtartam |
Define a variable vLanguage where you set desired language (EN, RO, HU) using inputbox or buttons. Then use minstring( if(KEY=1, $(vLanguage))) in labels, where you set KEY = proper ID
Define a table with your translations:
KEY | EN | RO | HU |
1 | Sales | Vanzari | Értékesítési |
2 | Computer | Calculator | Számítógép |
3 | User | Utilizator | Felhasználó |
4 | Last reload | Ultima actualizare | Utolsó frissítés |
5 | Duration | Durata | Időtartam |
Define a variable vLanguage where you set desired language (EN, RO, HU) using inputbox or buttons. Then use minstring( if(KEY=1, $(vLanguage))) in labels, where you set KEY = proper ID
Thanks Lucian.
Hello,
I have a question related to this formulas. I started to work on changing the labels using minstring function from the answer and almost everything is working fine for me.
The only problem I have is in container objects. When I put this formula as a label of the tab in container it doesn't change into the value, but show the formula itself (screenshot attached for reference).
Could you please advise how to solve this problem.
You're right, it doesn't work using the container label. Instead, use the original caption of the object to enter your expression and leave the tab label empty. This way it works.