User Locale order CUCM 8.5

Version 1
    This document was generated from CDN thread

    Created by: Marco Alghisi on 16-02-2012 05:50:14 AM
    Dear all,
    i'm developing a little script in order to get the right locale for a phone and based on it show the right language in a customize directory.
    My question is regarding how to discover the right locale for a phone. As far as i know there is no info in real time serviceability.
    Currently i go through different check via axl to take the locale (based also if there is extension mobility or not). I have noticed that anyway there is a different behaviour between different version of call manager (for example i have a ver 6.1(3) and 8.5(1)).
    Is there any fixed rule for this ?
    Thanks a lot