Sometimes it is needed to get a label text in a language that is different from the current one. To do that the labelId2String method of the SysLabel class can be used.
Example:
SysLabel::labelId2String(literalstr('@SYS1'), 'en-us');
Gives: Time transactions
SysLabel::labelId2String(literalstr('@SYS1'), 'de');
Gives: Zeit Transaktionen
thanks can be handy,
ReplyDeleteBtw Do you know any way to catch the conversion of labels
So if a label does not exist in the user language we can display it in the English language.
There is no such method to my knowledge. The problem is that it is not clear which language should be used as fallback one. You say ‘en-us’ which is reasonable, however it gives a special status to the English language which is not correct from the localizability point of view.
ReplyDeleteWell this could be a parameter, in my case English should be given a special status since it's our official group language
ReplyDeleteI made some tests, when you do for example
str msg = "@AAA1"
If you use the debugger you can see immediatly that the label is converted to txt when the msg variable is instantiated
qihang0710ed hardy clothing
ReplyDeletemichael kors outlet
coach outlet online
burberry sale
chanel handbags
oakley sunglasses
michael kors bags
mont blanc pen
chaussure louboutin
prada outlet
soccer jerseys wholesale
abercrombie outlet
coach outlet
true religion jeans
ray ban sunglass
kate spade outlet online
nike air force 1
true religion jeans
ralph lauren uk
chanel online shop
pandora outlet
cheap oakley sunglasses
ed hardy
jordan uk
michael kors
pandora rings
toms outlet
longchamp handbags
coach outlet store online
true religion outlet
kate spade bags
cheap jordans for sale
kate spade handbags
cheap true religion jeans
jordan pas cher
oakley sunglass
michael kors handbags
coach outlet
ralph lauren
ray ban glasses
q
pandora, hollister, insanity workout, gucci, mcm handbags, michael kors outlet, ralph lauren, adidas, mac cosmetics, <a
ReplyDeleteI like it when people come together and share ideas.
ReplyDeletehttp://www.prokr.net/2016/09/water-leaks-10.html
http://www.prokr.net/2016/09/water-leaks-9.html
http://www.prokr.net/2016/09/water-leaks-8.html
http://www.prokr.net/2016/09/water-leaks-7.html
http://www.prokr.net/2016/09/water-leaks-6.html
http://www.prokr.net/2016/09/water-leaks href="http://www.prokr.net/2016/09/water-leaks-4.html">http://www.prokr.net/2016/09/water-leaks-4.html
http://www.prokr.net/2016/09/water-leaks-3.html
http://www.prokr.net/2016/09/water-leaks-2.html
http://www.prokr.net/2016/09/water-leaks.html
gucci outlet online
ReplyDeletechristian louboutin sale
oakley sunglasses outlet
polo ralph lauren outlet
coach outlet store online clearances
ugg canada
canada goose outlet
ray ban sunglasses outlet
kate spade outlet
tommy hilfiger clothing
201612.10chenjinyan
cheap oakley sunglasses
ReplyDeleteadidas nmd
nike outlet
gucci borse
nike outlet
nike roshe
christian louboutin
jordan shoes
basketball shoes
ralph lauren pas cher
Its a great pleasure reading your post.Its full of information I am looking for and I love to post a comment that "The content of your post is awesome" Great work.
ReplyDeletelabel designs free download