My app is translated into 9 national languages: English, French, Spanish, Portuguese, Italian, Chinese, Hindi, Russian, & Arabic.
However, I've hit a really odd problem on S40 SDK 2. It cannot read the Chinese resource file - end of file is reached when attempting to read the first byte!
All nine resource files can be read in S40 E3 & E6 and S60 emulators. The same behaviour is found on actual devices (I have used exactly the same build (JAD/JAR) on each emulator and device).
The following resource file snippets are in English and Chinese respectively:
1000=HTTP authorisation failed
1010=Bad HTTP request
1020=Customer information failed
1030=Delivery limit exceeded
1040=Error in connecting to drm server
1000=HTTP授权失败
1010=错误的HTTP请求
1020=客户信息失败
1030=交付超出限制
1040=连接drm服务器时出错
I have worked around the problem by loading the English resource file if no keys are loaded into the hash map, but I think this is a platform bug.![]()


Reply With Quote

