Content Center Language recognition

Content Center Language recognition

k.grigoriou
Enthusiast Enthusiast
337 Views
4 Replies
Message 1 of 5

Content Center Language recognition

k.grigoriou
Enthusiast
Enthusiast

Hi everyone 

 

i lookint to find a way to be able to recognize inside my ilogic what Content Center Language the user are using.

0 Likes
Accepted solutions (2)
338 Views
4 Replies
Replies (4)
Message 2 of 5

Michael.Navara
Advisor
Advisor
Accepted solution

I'm not sure there is some documented information. But you can use this undocumented property of ContentCenter object.

Dim ccLanguage = ThisApplication.ContentCenter.Language
Logger.Debug(ccLanguage)

 

Message 3 of 5

k.grigoriou
Enthusiast
Enthusiast
it is exacly what i need thanks
0 Likes
Message 4 of 5

k.grigoriou
Enthusiast
Enthusiast

also im looking to see if there is any value about the file original-greation Language

0 Likes
Message 5 of 5

Michael.Navara
Advisor
Advisor
Accepted solution

In iProperties is something, but the value is read-write. It can be overridden.

Dim lang = ThisDoc.Document.PropertySets("{32853F0F-3444-11D1-9E93-0060B03C1CA6}")("Language").Value
logger.Debug(lang)

 

0 Likes