Multilanguage Application Interface

The 1C:Enterprise developers forum

#1
People who like this:0Yes/0No
Active user
Rating: 6
Joined: Sep 16, 2011
Company:

I want to add a second language to my application interface. I've found a Language section in the configuration tree and added the new one there, but cannot get the point what to do next? If someone knows? How can I set the second language values to field items and what to check in the Script to define which string value to pass to DoMessageBox?

 
#2
People who like this:0Yes/0No
Active user
Rating: 2
Joined: Nov 24, 2011
Company:

Use the NStr function:

Code
DoMessageBox(NStr("ru = 'Добрый вечер!'; en = 'Good Evening!'"));

 
#3
People who like this:0Yes/0No
Active user
Rating: 6
Joined: Sep 16, 2011
Company:

Thank you!
And what about form field labels?

 
#4
People who like this:0Yes/0No
Just came
Rating: 1
Joined: Dec 6, 2011
Company:

Press Ctrl-Shift-F4 on Title property

 
#5
People who like this:0Yes/0No
Active user
Rating: 6
Joined: Sep 16, 2011
Company:

Yep, that did the trick! Thank you, Evgeny!

 
Subscribe
Users browsing this topic (guests: 1, registered: 0, hidden: 0)
Be the first to know tips & tricks on business application development!

A confirmation e-mail has been sent to the e-mail address you provided .

Click the link in the e-mail to confirm and activate the subscription.