Add language switch component, (display link only if document is translated), fix some configurations.