Author name: Manuel Bogner

Angular i18n

Angular has support for internationalisation with the @ngx-translate/core module. This and a needed loader can be installed via With this done you need to create a folder src/assets/i18n and place your language json file like en.json in it. Now the translation module and service needs to be configured. Open your app.module.ts file and add the […]

Angular i18n Read More »

Spring Boot log MDC

Spring Boot contains a quite nice configuration for logback with color coding and good readability. But it lacks logging MDC (Mapped Diagnostic Context) content. I tried around and found a way to append MDC to every logged line by setting the console pattern in my application.properties/yml under logging.pattern.console to Without any MDC set this adds

Spring Boot log MDC Read More »

Optimize JPEGs for web

While creating my new homepage on https://mbo.dev I was looking for a command line tool to optimise images. Best tool for the job seemed to be imagemagic in combination with mozjpeg. Here the command I used which brought the images down very very much: The quality may change but I couldn’t see the difference without

Optimize JPEGs for web Read More »