add api for translations
add frontend for translations