added method for infereing languages links