Added internationalization for lang.js and resolved bug on spec.