Internalization files problem

You must Login before you can answer or comment on any questions.

What's wrong with this Locale definition form Spanish?:

<?xml version="1.0" encoding="UTF-8"?>
<resources>
        <string name="welome_message">Bienvenido a la aplicación Basics</string>
</resources>
I get the following error when building:
[INFO] Compiling localization files
 
[ERROR] Error: Traceback (most recent call last):
 
File "/Users/cmrabet/Library/Application Support/Titanium/mobilesdk/osx/2.0.1.GA2/iphone/builder.py", line 1130, in main localecompiler.LocaleCompiler(name,project_dir,devicefamily,deploytype).compile()
 
File "/Users/cmrabet/Library/Application Support/Titanium/mobilesdk/osx/2.0.1.GA2/commo 
/localecompiler.py", line 113, in compile self.compile_for_ios(file)
 
File "/Users/cmrabet/Library/Application Support/Titanium/mobilesdk/osx/2.0.1.GA2/commo 
/localecompiler.py", line 71, in compile_for_ios
 
name = appkeys[name]
 
KeyError: u'welome_messsage'
Thanks.

1 Answer

Fixed, I was adding new strings to app.xml (where appname is the only one accepted). I have switched to strings.xml and now works.

Thanks!

Your Answer

This question has been locked and cannot accept new answers.