CCApplication::getCurrentLanguage() get null

I’m working on Linux actually, but i use Mac too.

I’m trying to add multi language support to my game, and i gonna use different XML with tags.

When i use ccLanguageType _myLanguage = CCApplication::getCurrentLanguage() get null, signal 11 exception.

I have used getCurrentLanguageJNI() too and did’ t work.

What’s going on?

Thanks in advance.