internationalization backend or frontend
问题 I'm creating a website with front-end angularJs and back-end Java API server. I've already done error message internationalization in API server, but I'm wondering if I should do the translation of api result in server-side? e.g. if a french user requests an apple object, should I return him translated apple object, or just let front-end translate the apple object for him? 回答1: Do it at the backend for the error messages by sending the locale in the rest call, for front end in the templates