Fix adapter function
Add translations