The problem was with Android Lint. For solving this go to Preferences -> Android -> Lint error Checking.
There you can see a list of error checking methods.
- Scroll to Correctness:Messages.
- Change the severity of Missing Translation to be something other than error, say warning