zowe / sample-spring-boot-api-service

Zowe REST API service SDK and sample API service that integrates with Zowe API Mediation Layer
Other
26 stars 18 forks source link

Internationalization (i18n) of REST APIs and REST service #39

Closed plavjanik closed 4 years ago

plavjanik commented 5 years ago

As a developer of the REST API, I would like to know how to do the i18n easily and consistently with other Broadcom products.

plavjanik commented 5 years ago

Hello, @dkelosky. I have created this story for i18n. It seems that facilities for it in Spring Boot are quite powerful and this story will be more about using them properly and explaining it to the users of the SDK and sample and connecting it to the ErrorService.

plavjanik commented 5 years ago

https://www.baeldung.com/spring-boot-internationalization https://www.mkammerer.de/blog/spring-boot-locale-resolver/ https://dzone.com/articles/learn-how-to-internationalize-and-localize-your-ja http://springfox.github.io/springfox/docs/current/#property-file-lookup or https://github.com/springfox/springfox/issues/1180

Inspiration: https://angular.io/cli/xi18n

plavjanik commented 4 years ago

Everything but #73 was implemented in #68.