add translations for lines