The internationalization (I18N) support is available now in Scala plugin with following features:
Cool, thank you!
Can you perhaps make it also work with symbols?
Is this a feature of Play or standard Scala? I would like to use the feature but I can’t figure out the type of “MyBundle”. It’s not Java’s ResourceBundle, there’s no method “message(String)”. Could you give me a hint?
It’s Java feature, just supported also in Scala.
Currently inspection checks any parameter on call side if parameter has annotation org.jetbrains.annotations.PropertyKey (you can take it from annotations.jar included in any IDEA build). And you can even not to use ResourseBundle (but do you want to do it?).
Thanks, now I see. I didn’t know about the PropertyKey annotation. I will try that. Thank you!
Your email address will not be published. Required fields are marked *
Notify me of follow-up comments by email.
Notify me of new posts by email.