Is it possible to juzat internationalization through a set of files with resources without jsp? In particular, angular 2 is interested. If so, then please, please, a brief example or a reference, alas, I did not find anything sensible.
1 answer
Yes you can. To do this, inject a MessageSource type MessageSource and use its getMessage() method to get the translation.
|