How to do localization in Google Closure
问题 Currently I am using just plain text in my Closure application. I want to add localizations to those text. I just found several articles about goog.getMsg function which is used to do this kind of localization. As far as I understood it is done in compile time. How can we change language in run-time when user clicks a button? What is the easiest way to do this using Closure? 回答1: I have actually achieved a runtime i18n. I use .soy templates with {msg} tags in them. When you compile .soy to