use the explicit method to get locale
Merge pull request #91 from symfony-cmf/get-locale

use the explicit method to get locale