Search code examples
airadobeflash-builder

Texts dont show on release build for an adobe air mobile app with localization support


I am building a mobile application with localization support. The app supports three languages and it is targeted for android and ios. Everything works fine for debug builds; i can test everything for all the languages. When i do a release build, all the text on the app disappear! Buttons show with no text. If i change some of them to no use resourcemanager, the changed ones show the text. Does anyone knows why would this happen? I am using Flashbuilder 4.6, Apache Flex 4.11 air 13 beta.

Thanks.


Solution

  • I have finally figured out the problem, it was a bug in my code! There was no default value for ResourceManager localeChain on the first initialization of the app. I was not seeing this problem on my testing devices as the app had saved the localechain value in the device local storage. Every time i do a new development build and install on my devices, it would read the saved localechain on the first initialization. Thank you Patel