add adapter for translations
fix segfault when YCPNull given